Bink SDK 1.5v

BinkBufferSetDirectDraw

The function BinkBufferSetDirectDraw sets the DirectDraw object and primary surface pointers.

void BinkBufferSetDirectDraw(
  LPDIRECTDRAW lpDirectDraw,
  LPDIRECTDRAWSURFACE lpddsPrimary
);

In Parameters

lpDirectDraw
specifies the DirectDraw object pointer to use.
lpddsPrimary
specifies the DirectDraw primary surface object pointer to use.

Discussion

By default, Bink creates its own DirectDraw and primary surface objects. This function is used when you already have DirectDraw up and running in your application. So, if you have already created your own DirectDraw objects, then you should call this function before your first call to BinkBufferOpen.


Group: BinkBuffer API
Related Functions: BinkBufferOpen
Related Basic Types: LPDIRECTDRAW, LPDIRECTDRAWSURFACE, void

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