Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sends data from a publisher to each registered subscriber of that publisher. A publisher calls this method. The subscriber service handles the call from the publisher by calling the ISubscriber::Write method for each registered subscriber. For more information about the subscriber service, see Publisher Characteristics.
HRESULT Write(DWORD dwBufSize,BYTE* pbData);
Parameters
- dwBufSize
[in] Size of the buffer in bytes. - pbData
[in] Pointer to the data buffer.
Return Values
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK | The call was successfully completed. |
E_FAIL | Unable to complete the call. |
Remarks
To improve performance, a subscriber should not process data in this call but should instead make a local copy of the data and return immediately.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: CEPubSub.h (for development workstation), CEPubSubPS.h (for target device), CePubSub.idl.
Link Library: Rts.lib (for development workstation), PSPubSubCE.lib (for target device).
See Also
Send Feedback on this topic to the authors