vb Code:
  1. Function GetFreeVidMem(lhWnd As Long) As Long
  2.   Dim oDX As DirectX7
  3.   Set oDX = New DirectX7
  4.   Dim oDD As DirectDraw7
  5.   Dim hwCaps As DDCAPS
  6.   Dim helCaps As DDCAPS
  7.  
  8.   Set oDD = oDX.DirectDrawCreate("")
  9.   oDD.SetCooperativeLevel lhWnd, DDSCL_NORMAL
  10.   oDD.GetCaps hwCaps, helCaps
  11.  
  12.   GetFreeVidMem = hwCaps.lVidMemFree
  13.  
  14.   Set oDD = Nothing
  15.   Set oDX = Nothing
  16. End Function

By using Direct7 i can monitor the amount of total/available video memory. It doesnt count i am opening up new instances of my forms, the value is remains the same, that means it is not using the video memory either. But then, where it reserves memory, i'm want to monitor the available (remaining) amount of it.

Could it be a limitation of the device driver
Ok, but how can i monitor the limits?