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.

37 lines
997 B

  1. /* mmioi.h
  2. *
  3. * Definitions that are internal to the MMIO library.
  4. */
  5. typedef MMIOINFO NEAR *PMMIO;
  6. #define PH(hmmio) ((PMMIO)(hmmio))
  7. #define HP(pmmio) ((HMMIO)(pmmio))
  8. typedef struct _MMIODOSINFO // How DOS IOProc uses MMIO.adwInfo[]
  9. {
  10. HFILE fh; // DOS file handle
  11. } MMIODOSINFO;
  12. typedef struct _MMIOMEMINFO // How MEM IOProc uses MMIO.adwInfo[]
  13. {
  14. LONG lExpand; // increment to expand mem. files by
  15. } MMIOMEMINFO;
  16. #define STATICIOPROC 0x0001
  17. typedef struct _IOProcMapEntry
  18. {
  19. FOURCC fccIOProc; // ID of installed I/O procedure
  20. LPMMIOPROC pIOProc; // I/O procedure address
  21. HTASK hTask; // task that called mmioRegisterIOProc()
  22. UINT wFlags;
  23. struct _IOProcMapEntry *pNext; // pointer to next IOProc entry
  24. } IOProcMapEntry;
  25. // standard I/O procedures
  26. LRESULT CALLBACK mmioBNDIOProc(LPSTR, UINT, LPARAM, LPARAM);
  27. /* prototypes from "hmemcpy.asm" */
  28. LPVOID NEAR PASCAL MemCopy(LPVOID dest, const void FAR * source, LONG count);
  29. LPSTR NEAR PASCAL fstrrchr(LPCSTR lsz, char c);