THPPlayerOpen

C Specification

#include "THPPlayer.h"
BOOL THPPlayerOpen(char *fileName, BOOL onMemory);

Arguments

fileName Name of the THP movie data file.
onMemory Flag that specifies streaming or on memory playback.

Return Values

Returns TRUE if successful; FALSE otherwise.

Description

This function uses the DVDOpen function to open the THP movie data specified by the first argument and reads the header using the DVDRead function. Next, the function gets the required information from the header and checks to see if the specified data is THP movie data that can be extracted.

Set the second argument to FALSE if you want to play the THP movie data from the disc using streaming playback; set TRUE if you want to use on memory playback.

This function initializes the playback of the THP audio data to 127.

See Also

Revision History

2006/03/01 Initial version.


CONFIDENTIAL