SND_ReadPlayerInfo

Syntax

#include <nitro/snd.h>
BOOL SND_ReadPlayerInfo(
        const SNDDriverInfo* driverInfo,
        int playerNo,
        SNDPlayerInfo* playerInfo );

Arguments

driverInfo The pointer to the driver information structure.
playerNo The player number. Takes a value between 0 and 15.
playerInfo The pointer to the player information structure to store the obtained information.

Return Values

Returns whether the attempt to obtain the information succeeded or failed.

Description

Gets the player information from the driver information structure.

The SND_ReadDriverInfo function can be used to obtain the driverInfo driver information structure.

If obtained successfully, the player information is written to playerInfo, the SNDPlayerInfo-type structure for the player information.

See Also

SND_ReadDriverInfo, SNDPlayerInfo

Revision History

2005/02/17 Initial version.


CONFIDENTIAL