XM_RESOURCE EQU 0 XM_MEMORY EQU 1 XM_FILE EQU 2 ; ============== ; uFMOD_PlaySong ; ============== ; The uFMOD_PlaySong function plays a song specified by the given ; filename, resource or image of a song in memory. ; -------------- ; BOOL uFMOD_PlaySong( ; LPVOID lpXM, ; DWORD param, ; DWORD fdwSong ; ); ; -------------- ; Parameters: ; lpXM ; Specifies the song to play. If this parameter is NULL, ; any currently playing song is stopped. ; fdwSong parameter determines whether this value is interpreted ; as a filename, as a resource identifier or a pointer to an image ; of the song in memory. ; param ; Handle to the executable file that contains the resource to be ; loaded or size of the image of the song in memory. This parameter ; is ignored unless XM_RESOURCE or XM_MEMORY is specified in fdwSong. ; fdwSong ; Flags for playing the song. The following values are defined. ; Value Meaning ; XM_FILE lpXM points to filename; ; param is ignored. ; XM_MEMORY lpXM points to an image of a song in memory; ; param is the image size. ; XM_RESOURCE lpXM Specifies the name of the resource; ; param identifies the module whose executable file ; contains the resource; ; The resource type must be RT_RCDATA. ; Return Values: ; Returns TRUE if successful or FALSE otherwise. uFMOD_PlaySong PROTO :DWORD,:DWORD,:DWORD uFMOD_GetOrder PROTO uFMOD_GetRow PROTO uFMOD_GetTime PROTO