niOpenNb

Reads a NIFF binary file

Syntax

#include  "niffapi.h"

int niOpenNb(char *filename, Nis *nis);

Arguments

filename
The name of the NIFF binary file to read
nis
Pointer to the Nis structure where the data to be read is held.
nis must have been already initialized with the niNewNis()function.

Returned value

TRUE(=1) if the file is read without error. FALSE(=0) if an error occurs.

Explanation

Reads a NIFF binary file and stores it in the Nis structure. A NIFF binary file is a file which stores data defined in the NIFF specifications.

This function performs the processes which are appropriate for the given NIFF version.

See also

niNewNis, for the Nis structure, see n64kit/niff/niffapi/nis.h,nis2.h

Back to NIFFAPI Index

Copyright 1998-1999 NINTENDO Co., Ltd.
1998-1999 MONEGI CORPORATION All rights reserved.