Bink SDK 1.5v |
The function BinkDDSurfaceType returns a value describing the format of the specified DirectDraw surface.
BINK_COPY_FLAGS BinkDDSurfaceType(   LPDIRECTDRAWSURFACE lpDirectDrawSurface ); |
Returns a value describing the format of the surface.
This function returns a value describing the supplied DirectDraw surface. You can use this function to obtain the surface type to pass to the BinkCopyToBuffer function. If the surface type is unknown or unsupported, then this function returns -1. For DirectX 8 surfaces, use the BinkDX8SurfaceType function - not BinkDDSurfaceType! On MacOS, use the BinkGDSurfaceType function.
Group:
BinkBuffer API
Related Functions:
BinkCopyToBuffer, BinkCopyToBufferRect, BinkDX8SurfaceType, BinkGDSurfaceType
Related Basic Types:
BINK_COPY_FLAGS, LPDIRECTDRAWSURFACE
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.