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.

62 lines
2.0 KiB

  1. /////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998 Active Voice Corporation. All Rights Reserved.
  4. //
  5. // Active Agent(r) and Unified Communications(tm) are trademarks of Active Voice Corporation.
  6. //
  7. // Other brand and product names used herein are trademarks of their respective owners.
  8. //
  9. // The entire program and user interface including the structure, sequence, selection,
  10. // and arrangement of the dialog, the exclusively "yes" and "no" choices represented
  11. // by "1" and "2," and each dialog message are protected by copyrights registered in
  12. // the United States and by international treaties.
  13. //
  14. // Protected by one or more of the following United States patents: 5,070,526, 5,488,650,
  15. // 5,434,906, 5,581,604, 5,533,102, 5,568,540, 5,625,676, 5,651,054.
  16. //
  17. // Active Voice Corporation
  18. // Seattle, Washington
  19. // USA
  20. //
  21. /////////////////////////////////////////////////////////////////////////////////////////
  22. ////
  23. // mmio.h - interface to mmio file functions in mmio.c
  24. ////
  25. #ifndef __MMIO_H__
  26. #define __MMIO_H__
  27. #include "winlocal.h"
  28. // user-defined messages
  29. //
  30. #ifndef MMIOM_GETINFO
  31. #define MMIOM_GETINFO (MMIOM_USER + 0x1000)
  32. #endif
  33. #ifndef MMIOM_CHSIZE
  34. #define MMIOM_CHSIZE (MMIOM_USER + 0x1001)
  35. #endif
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. // MmioIOProc - i/o procedure for mmio data
  40. // <lpmmioinfo> (i/o) information about open file
  41. // <uMessage> (i) message indicating the requested I/O operation
  42. // <lParam1> (i) message specific parameter
  43. // <lParam2> (i) message specific parameter
  44. // returns 0 if message not recognized, otherwise message specific value
  45. //
  46. // NOTE: the address of this function should be passed to the WavOpen()
  47. // or mmioInstallIOProc() functions for accessing mmio format file data.
  48. //
  49. LRESULT DLLEXPORT CALLBACK MmioIOProc(LPTSTR lpmmioinfo,
  50. UINT uMessage, LPARAM lParam1, LPARAM lParam2);
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif // __MMIO_H__