IEventServer::RegisterEventHandler Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT RegisterEventHandler([in] LONG EventID, [in] IDispatch* EventHandler, [in, defaultvalue(0)] LONG Flags);
Parameters
- EventID
- [in] Value of LONG.
- EventHandler
- [in] Pointer to IDispatch*.
- Flags
- [in, defaultvalue(0)] Value of LONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.