WinBufFree() method (deprecated)

Frees a Windows global memory buffer which was previously allocated with WinBufAlloc(), WinBufAlloc32(), or WinBufAlloc64().

Deprecated; unless your application calls deprecated methods, use WinBufFreeEx().

Member of the MccService class.

Function Prototype

VB .NET

Public Shared Function WinBufFree(ByVal memHandle As Integer) As MccDaq.ErrorInfo

C# .NET

public static MccDaq.ErrorInfo WinBufFree(int memHandle)

Parameters

memHandle

A Windows memory handle. This must be a memory handle that was returned by WinBufAlloc(), WinBufAlloc32(), or WinBufAlloc64() when the buffer was allocated.

Returns