Bink SDK 1.5v

# BinkMacOpen

The function BinkMacOpen opens the specified Bink file for decompression.

    HBINK BinkMacOpen(
      FSSpec_PTR file_spec,
      BINK_OPEN_FLAGS open_flags
    );

#### In Parameters

file_spec
  The pointer to the MacOS filespec to open.
open_flags
  The flags to use when opening the file.

#### Returns

Handle to the opened Bink file or zero on error

#### Discussion

This function works exactly like BinkOpen, only it takes a MacOS filespec to be opened. The returned HBINK handle is also a pointer to a BINK structure which contains information about the opened file. If the BinkMacOpen call fails, then zero will be returned. You can get a description of the error by calling BinkGetError.

Group: Bink API
Related Sections: Open and Close
Related Functions: BinkClose, BinkGetError, BinkOpen
Related Basic Types: BINK_OPEN_FLAGS, FSSpec_PTR, HBINK
Related Structures: BINK

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