IEventsRegistry::RegisterNewEvent Method
From PDF XChange PDF SDK
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.