IPipeLong::Push method (objidl.h)
Sends data of the long integer type to the pipe source.
HRESULT Push( [in] LONG *buf, [in] ULONG cSent );
A pointer to the memory buffer that holds the data to be sent.
The number of long integers in the buffer.
This method returns S_OK to indicate that the data was sent successfully.
When the Push method is called, the data is being sent to the provider of the pipe. The caller fills the buffer with the data and then calls Push. The number of long integers being sent is specified in the cSent parameter. The caller is responsible for ensuring that the buffer is valid for the duration of the call.
When the last of the data has been pushed, the caller must do one last push of cSent equal to 0 to indicate that the data transfer is complete.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||objidl.h (include ObjIdl.h)|