[out] Current size of the I/O write buffer.
GetWriteBufferSize
Indicates the size of the I/O write buffer.
Syntax
Section titled “Syntax”virtual HRESULT GetWriteBufferSize(long* pcbSize) sealed override;Parameters
Section titled “Parameters”pcbSize
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Remarks
Section titled “Remarks”The default size of the write buffer is 4096 bytes.
Example
Section titled “Example”The following example demonstrates use of the GetWriteBufferSize function.
HRESULT Acme4321::OnFinalInitialize(){ HRESULT hr = S_OK;
long cbSize; hr = io.GetWriteBufferSize(&cbSize);
return hr;}