Microsoft DirectX 8.0 (C++) |
Applications use the methods of the IDirect3DSurface8 interface to query and prepare surfaces.
The methods of the IDirect3DSurface8 interface can be organized into the following groups.
Devices | GetDevice |
Information | GetContainer |
GetDesc | |
Locking Surfaces | LockRect |
UnlockRect | |
Private Surface Data | FreePrivateData |
GetPrivateData | |
SetPrivateData |
The IDirect3DSurface8 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.
IUnknown | AddRef |
QueryInterface | |
Release |
The LPDIRECT3DSURFACE8 and PDIRECT3DSURFACE8 types are defined as pointers to the IDirect3DSurface8 interface.
typedef struct IDirect3DSurface8 *LPDIRECT3DSURFACE8, *PDIRECT3DSURFACE8;
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.