IEventsRegistry::RegisterNewEvent Method

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

Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT RegisterNewEvent([in]                      BSTR            UniqueEventName,
                         [in]                      IEventCreator*  EventCreator,
                         [in, defaultvalue(NULL)]  IBitSet*        EventClass,
                         [out, retval]             LONG*           EventID);

Parameters

UniqueEventName
[in] Value of BSTR.
EventCreator
[in] Pointer to IEventCreator.
EventClass
[in, defaultvalue(NULL)] Pointer to IBitSet.
EventID
[out, retval] Pointer to LONG.

Return Value

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

See Also

IEventsRegistry