IFWXIOBuffer::SendToBuffer method
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.
Syntax
HRESULT SendToBuffer(
[in] IFWXIOBuffer *pDestinationBuffer,
[in] ULONG ulOffset,
[in] ULONG cb,
[out] ULONG *pcbCopied
);
Parameters
pDestinationBuffer [in]
Buffer to which the data will be copied.ulOffset [in]
Specifies the starting point from the beginning of the buffer for reading data.cb [in]
Specifies the number of bytes to attempt to copy to the destination buffer.pcbCopied [out]
Pointer to a ULONG that on return receives the actual number of bytes copied to the destination buffer object.
Return value
This method can return one of these values.
S_OK
The method succeeded.E_NOTIMPL
Returned if the client and server are not in the same apartment. This may happen if the filter is not an in-process server.FWX_E_BUFFERFULL
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.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010