|
|
发表于 2008-1-16 13:57:00
|
显示全部楼层
Re:如何?得剩下的Video memory有多少
IDirectDraw7::GetAvailableVidMem
The IDirectDraw7::GetAvailableVidMem method retrieves the total amount of display memory available and the amount of display memory currently free for a given type of surface.
HRESULT GetAvailableVidMem(
LPDDSCAPS2 lpDDSCaps2,
LPDWORD lpdwTotal,
LPDWORD lpdwFree
);
。。。。。。。。。。。。。。。。。。。。。。。 |
|