nw::snd::SequenceSoundHandle::ReadVariable Member Function

Syntax

#include <nw/snd/snd_SequenceSoundHandle.h>

bool ReadVariable(
     int varNo,
     signed short* var
) const;

Arguments

Name Description
in varNo Variable number from 0 to 15.
out var Pointer to the variable that stores the value to be read.

Return Values

Returns TRUE if data is loaded successfully; otherwise, returns FALSE.

Description

Reads sequence local variables.

If the variables are read successfully, the variable values are written to the address specified by var.

If the sound handle is invalid, the read fails, and FALSE is returned.

Revision History

2010/01/22
Initial version.

CONFIDENTIAL