windows-nt/Source/XPSP1/NT/multimedia/media/test/sbtest/riff.h
2020-09-26 16:20:57 +08:00

32 lines
524 B
C

/*
riff.h
Definitions for dealing with RIFF files
*/
#define ckidRIFF mmioFOURCC( 'R', 'I', 'F', 'F' )
// local stuff
#define ckidWAVE mmioFOURCC('W','A','V','E')
typedef struct _RIFFHDR {
FOURCC rifftag;
ULONG Size;
FOURCC wavetag;
} RIFFHDR, *PRIFFHDR;
typedef struct _RIFFCHUNKHDR {
FOURCC rifftag;
ULONG Size;
} RIFFCHUNKHDR, *PRIFFCHUNKHDR;
//
// in riff.c
//
BOOL IsRiffWaveFormat(PUCHAR pView);
PUCHAR FindRiffChunk(PULONG pChunkSize, PUCHAR pView, FOURCC Tag);