RegisterClientForRx : To register Client for receiving messages
Synopsis
Section titled “Synopsis”HRESULT RegisterClientForRx([in] USHORT usUniqueID, [out] BSTR* pEventName, [out] BSTR* pPIPEName);### Description
This function registers a client for receiving messages.### Inputs
[in]usUniqueId - The unquie Id the Client needs to provides while registering.
[out]pEventName - The event which gets notified on reception of a message. Client needs to wait on this event.
[out]pPIPEName - The Buffer on which the Rx messages will be written for the client.Usage in COM ClientBSTR* pEventName;BSTR* pPIPEName;HRESULT hResult = m_IApplication->RegisterClientForRx(1,pEventName,pPipeName);/If HRESULT is S_OK the Client is registered with a client id of 1/### Cause of failure
NA
Authoritative source: BUSMASTER DITA help source RegisterClientForRx.dita, compiled into BUSMASTER.CHM with the application.