RIODeregisterBuffer function
The RIODeregisterBuffer function deregisters a registered buffer used with the Winsock registered I/O extensions.
Syntax
VOID RIODeregisterBuffer( _In_ RIO_BUFFERID BufferId );
Parameters
- BufferId [in]
-
A descriptor identifying a registered buffer.
Return value
This function does not return a value.
Remarks
The RIODeregisterBuffer function deregisters a registered buffer. When a buffer is deregistered, the application is indicating that it is done with the buffer identifier passed in the BufferId parameter. Any subsequent calls to other functions that try to use this buffer identifier will fail.
If a buffer that is still in use is deregistered, the results are undefined. This is considered a serious error. In the RIORESULT structure returned by the RIODequeueCompletion function, the status will be unchanged from the normal status. An application developer can detect this error condition using the Application Verifier tool.
If an invalid buffer identifier is passed in the BufferId parameter, this is ignored by the RIODeregisterBuffer function.
Windows Phone 8: This function is supported for Windows Phone Store apps on Windows Phone 8 and later.
Windows 8.1 and Windows Server 2012 R2: This function is supported for Windows Store apps on Windows 8.1, Windows Server 2012 R2, and later.
Requirements
|
Minimum supported client |
Windows 8.1, Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also