Leaked source code of windows server 2003
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.

59 lines
1.5 KiB

  1. /****************************************************************************
  2. *
  3. * WAVEFILE.H
  4. *
  5. * header file for routines for reading WAVE files
  6. *
  7. ***************************************************************************/
  8. /* - - - - - - - - */
  9. #ifdef WIN32
  10. #define _export // EXPORT in def file does everything necessary in WIN32
  11. #endif
  12. #include "avifile.rc"
  13. extern HMODULE ghModule; // global HMODULE/HINSTANCE for resource access
  14. /* - - - - - - - - */
  15. /*
  16. ** This class is used to implement a handler for a type of file with only
  17. ** one stream. In this case, we don't have to worry about allocating more
  18. ** than one stream object for each file object, so we can combine the
  19. ** two together in a single class.
  20. **
  21. */
  22. #ifdef __cplusplus
  23. extern "C" /* Assume C declarations for C++ */
  24. #endif /* __cplusplus */
  25. HRESULT WaveFileCreate(
  26. IUnknown FAR* pUnknownOuter,
  27. REFIID riid,
  28. void FAR* FAR* ppv);
  29. /* - - - - - - - - */
  30. /*
  31. ** These variables help keep track of whether the DLL is still in use,
  32. ** so that when our DllCanUnloadNow() function is called, we know what
  33. ** to say.
  34. */
  35. extern UINT uUseCount;
  36. extern UINT uLockCount;
  37. /* - - - - - - - - */
  38. //
  39. // This is our unique identifier
  40. //
  41. // NOTE: If you modify this sample code to do something else, you MUST
  42. // CHANGE THIS!
  43. //
  44. // Run uuidgen.exe from the tools directory and get your own GUID.
  45. // DO NOT USE THIS ONE!
  46. //
  47. //
  48. //
  49. DEFINE_GUID(CLSID_AVIWaveFileReader, 0x00020003, 0, 0, 0xC0,0,0,0,0,0,0,0x46);