fg_vbaddr()Win32 DirectX Fastgraph/Light Prototype long fg_vbaddr (int handle); Function fg_vbaddr (ByVal handle As Long) As Long function fg_vbaddr (handle : integer) : pointer; Description For the native libraries, fg_vbaddr() returns the address of the specified virtual buffer. For the DirectX libraries, it returns a pointer to the DirectDrawSurface object for the specified virtual buffer. Use fg_ddlock() to obtain the virtual buffer address when using the DirectX libraries. Parameters handle is the virtual buffer handle. Return value The address of, or a pointer to the DirectDrawSurface object for, the specified virtual buffer. Restrictions If handle does not reference a valid virtual buffer handle, the return value will be undefined. See also fg_ddlock(), fg_getline(), fg_vbopen() Examples SetupD3D
|
 
copyright 2001 Ted Gruber Software, Inc.