Applies to: desktop apps only
The SendToBuffer method copies a specified number of bytes starting at a specified offset from the beginning of the buffer to the given destination buffer.
HRESULT SendToBuffer( [in] IFWXIOBuffer *pDestinationBuffer, [in] ULONG ulOffset, [in] ULONG cb, [out] ULONG *pcbCopied );
Buffer to which the data will be copied.
Specifies the starting point from the beginning of the buffer for reading data.
Specifies the number of bytes to attempt to copy to the destination buffer.
Pointer to a ULONG that on return receives the actual number of bytes copied to the destination buffer object.
This method can return one of these values.
The method succeeded.
Returned if the client and server are not in the same apartment. This may happen if the filter is not an in-process server.
The destination buffer does not have enough room to receive all the data. The pcbCopied parameter will contain the number of bytes that were actually copied.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010