Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
524 B

  1. /*
  2. riff.h
  3. Definitions for dealing with RIFF files
  4. */
  5. #define ckidRIFF mmioFOURCC( 'R', 'I', 'F', 'F' )
  6. // local stuff
  7. #define ckidWAVE mmioFOURCC('W','A','V','E')
  8. typedef struct _RIFFHDR {
  9. FOURCC rifftag;
  10. ULONG Size;
  11. FOURCC wavetag;
  12. } RIFFHDR, *PRIFFHDR;
  13. typedef struct _RIFFCHUNKHDR {
  14. FOURCC rifftag;
  15. ULONG Size;
  16. } RIFFCHUNKHDR, *PRIFFCHUNKHDR;
  17. //
  18. // in riff.c
  19. //
  20. BOOL IsRiffWaveFormat(PUCHAR pView);
  21. PUCHAR FindRiffChunk(PULONG pChunkSize, PUCHAR pView, FOURCC Tag);