Bink SDK 1.5v

BinkGDSurfaceType

The function BinkGDSurfaceType returns a value describing the format of the specified MacOS Graphics Device.

BINK_COPY_FLAGS BinkGDSurfaceType(
  GDHandle gdevice
);

In Parameters

gdevice
Specifies the graphics device that you want to query.

Returns

Returns a value describing the format of the surface.

Discussion

This function returns a value describing the supplied Graphics Device. 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. On Win32, use the BinkDDSurfaceType or BinkDX8SurfaceType functions.


Group: BinkBuffer API
Related Functions: BinkCopyToBuffer, BinkCopyToBufferRect, BinkDDSurfaceType, BinkDX8SurfaceType
Related Basic Types: BINK_COPY_FLAGS, GDHandle

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.