Bink SDK 1.5v

Locking and Unlocking

Discussion

You must lock and unlock a BinkBuffer before you can access the buffer and buffer_pitch fields inside a BinkBuffer structure. This is to allow the BinkBuffer to lock and unlock the underlying DirectDraw structures. Note that because DirectDraw may be locked inside of a BinkBufferLock/BinkBufferUnlock block, you can't step into a BinkBuffer block in the debugger. If you need this functionality, open the BinkBuffer using the BINKBUFFERDIBSECTION flag (which doesn't require a DirectDraw lock).


Group: Background Concepts
Related Functions: BinkBufferLock, BinkBufferOpen, BinkBufferUnlock
Related Basic Types: BINKBUFFER_OPEN_FLAGS

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