Remove3DSettingsEventListener

Unregisters an event listener from 3D Graphics settings event list.

Syntax

Copied!

ADLX_RESULT     Remove3DSettingsEventListener (IADLX3DSettingsChangedListener * p3DSettingsChangedListener)

Parameters

  1. [in] p3DSettingsChangedListener IADLX3DSettingsChangedListener * The pointer to the event listener interface to unregister from receiving 3D Graphics settings change notifications.

Return Value

If the event listener is successfully unregistered, ADLX_OK is returned.

If the event listener is not successfully unregistered, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

After the event listener is successfully unregistered, ADLX will no longer call On3DSettingsChanged method of the listener when 3D Graphics settings change. The application can discard the event listener instance.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0