Bink SDK 1.5v

# BinkSetIO

The function BinkSetIO specifies a set of replacement file I/O functions.

    void BinkSetIO(
      VOID_PTR BinkOpenFileFunction
    );

#### In Parameters

BinkOpenFileFunction
  Specifies the function to call to open the Bink file.

#### Discussion

This function allows you to replace the entire Bink IO system. This is definitely a non-trivial job, but with it, you can cause Bink to read from any type of device. Note that this function is almost never necessary! If you are trying to read out of a packed file, then you should use the BINKFILEHANDLE flag - it is much, much simpler. If you are still interested in this support, give us a call at RAD Game Tools and we can get you the source code for the normal file system IO provider as a reference. To use this function, you first make this call and then you add the BINKIOPROCESSOR flag in your BinkOpen call.

Group: Bink API
Related Functions: BinkOpen
Related Basic Types: BINK_OPEN_FLAGS, VOID_PTR, void

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