IPXV_Control::EnableEventListening Method

From PDF XChange PDF SDK
Revision as of 02:49, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Starts/stops listening of specified event.

Syntax

HRESULT EnableEventListening([in]                    BSTR          sEventID,
                             [in, defaultvalue(-1)]  VARIANT_BOOL  bEnable);

Parameters

sEventID
[in] The unique name of event. For example:
e.app.prefsChanged
e.activeDocChanged
e.stampSelected
e.pagesView.layoutChanged
...
bEnable
[in, defaultvalue(-1)] The flag to start/stop the listening of event.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Control