VidMemFree function (dmemmgr.h)
The VidMemFree function frees off-screen memory allocated for a display driver by HeapVidMemAllocAligned.
Syntax
void VidMemFree(
[in] LPVMEMHEAP pvmh,
[in] FLATPTR ptr
);
Parameters
[in] pvmh
Pointer to a VMEMHEAP structure that represents the DirectDraw heap from which the surface was allocated. The driver obtains this value from the lpHeap member of the VIDEOMEMORY structure originally passed to HeapVidMemAllocAligned.
[in] ptr
Specifies the FLATPTR offset of the allocated surface. This data type is equivalent to a ULONG_PTR.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | dmemmgr.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for