nw::snd::RomSoundArchive::LoadHeader Member Function

Syntax

#include <nw/snd/snd_RomSoundArchive.h>
bool LoadHeader(
     void         *buffer,
     unsigned long size
);

Arguments

Name Description
out buffer Pointer to the buffer in which the header is loaded.
in size The buffer size.

Return Values

Returns true if the header loaded successfully and false otherwise.

Description

Loads the header of the sound archive.

You must load the header by calling this function before getting data from the sound archive or loading sound data.

You can use GetHeaderSize to get the amount of memory required to load the header.

See Also

Open

Revision History

2010/01/15
Initial version.

CONFIDENTIAL