RasFreeBuffer
This function releases a memory buffer that was allocated by a previous call to RasGetBuffer. A custom-scripting DLL, which is implemented by the developer, calls RasFreeBuffer through a function pointer. RAS passes the function pointer through the phnRasFreeBuffer parameter of the DLL's RasCustomScriptExecute function.
typedef DWORD (APIENTRY *PFNRASFREEBUFFER)(
PBYTE pBuffer
);
Parameters
- pBuffer
Pointer to the memory buffer to free. This memory must have been obtained by a previous call to RasGetBuffer.
Return Values
- ERROR_SUCCESS
The function completes successfully. - ERROR_OUT_OF_BUFFERS
RAS cannot allocate more buffer space.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ras.h.
Link Library: Ppp.lib.
See Also
RAS Custom Scripting | RasCustomScriptExecute | RasGetBuffer
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.