Compartilhar via


RasFreeBuffer (Windows CE 5.0)

Send Feedback

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)(PBYTEpBuffer );

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.