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.
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.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.