nw::snd::SequenceSoundHandle::ReadTrackVariable Member Function

Syntax

#include <nw/snd/snd_SequenceSoundHandle.h>
bool ReadTrackVariable(
     int trackNo,
     int varNo,
     signed short* var
) const;

Arguments

Name Description
in trackNo Track number (0-15).
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 command track 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