fg_ddlock()

Win32 DirectX Fastgraph/Light

Prototype

int fg_ddlock (void);

Function fg_ddlock () As Long

function fg_ddlock : integer;

Description

The fg_ddlock() function locks the DirectDraw surface associated with the active virtual buffer and returns its address. The address will be valid until you unlock the surface.

Parameters

none

Return value

The address of the DirectDraw surface associated with the active virtual buffer. If no virtual buffer is active, the return value will be zero.

Restrictions

This function is available only in Fastgraph's DirectX libraries.

See also

fg_ddunlock()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.