Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.47 KB

mmioAscend.md

File metadata and controls

62 lines (43 loc) · 1.47 KB

Home

Function name : mmioAscend

Group: Windows Multimedia - Library: winmm


The mmioAscend function ascends out of a chunk in a RIFF file descended into with the mmioDescend function or created with the mmioCreateChunk function.


Code examples:

WAV file player
Class for sound recording
Changing pitch and speed of a wave file
Adding supplementary data to AVI files
Playing WAV sounds simultaneously

Declaration:

MMRESULT mmioAscend(
  HMMIO hmmio,
  LPMMCKINFO lpck,
  UINT wFlags
);  

FoxPro declaration:

DECLARE INTEGER mmioAscend IN winmm;
	INTEGER   hmmio,;
	STRING  @ lpck,;
	INTEGER   wFlags
  

Parameters:

hmmio File handle of an open RIFF file.

lpck Pointer to an application-defined MMCKINFO structure previously filled by the mmioDescend or mmioCreateChunk function.

wFlags Reserved; must be zero.


Return value:

Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.


Comments:

If the chunk was descended into by using mmioDescend, mmioAscend seeks to the location following the end of the chunk (past the extra pad byte, if any).