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.

54 lines
2.4 KiB

  1. ;******************************************************************************
  2. TITLE mmdevldr.inc - Windows/386 MMSYSTEM Device loader DLVxD include file
  3. ;******************************************************************************
  4. ;
  5. ; (C) Copyright MICROSOFT Corp., 1993 - 1995
  6. ;
  7. ; Title: mmdevldr.INC - Windows/386 Config Manager DLVxD DEVLOADER for MMSYSTEM
  8. ;
  9. ; Version: 1.00
  10. ;
  11. ;
  12. ;==============================================================================
  13. Multimedia_OEM_ID equ 0440h ; MS Reserved OEM # 34
  14. MMDEVLDR_Device_ID equ Multimedia_OEM_ID + 10 ;MMDEVLDR's device ID
  15. MMDEVLDR_Ver_Major equ 1 ; version 1.0 of this VxD
  16. MMDEVLDR_Ver_Minor equ 0
  17. MMDEVLDR_API_MMSystem_Up equ 0 ;Internal
  18. MMDEVLDR_API_Continue equ 1 ;Internal
  19. MMDEVLDR_API_QueryVxD equ 2 ;Internal
  20. MMDEVLDR_API_QueueCallback32 equ 3 ;Internal
  21. MMDEVLDR_API_SetEvent equ 4 ;Internal
  22. MMDEVLDR_API_PageAllocate equ 5 ;Internal
  23. MMDEVLDR_API_PageFree equ 6 ;Internal
  24. MMDEVLDR_APIS equ 7 ;Internal
  25. ifdef DDB_Sys_Crit_Init_Done
  26. Begin_Service_Table MMDEVLDR
  27. MMDEVLDR_Service MMDEVLDR_Register_Device_Driver, LOCAL
  28. MMDEVLDR_Service _MMDEVLDR_SetDevicePresence
  29. MMDEVLDR_Service _MMDEVLDR_SetEnvironmentString
  30. MMDEVLDR_Service _MMDEVLDR_GetEnvironmentString
  31. MMDEVLDR_Service _MMDEVLDR_RemoveEnvironmentString
  32. MMDEVLDR_Service _MMDEVLDR_AddEnvironmentString
  33. End_Service_Table MMDEVLDR
  34. MMDEVLDR_IOCTL_GETVERSION equ 0 ;Internal
  35. MMDEVLDR_IOCTL_LINPAGELOCK equ 1 ;Internal
  36. MMDEVLDR_IOCTL_LINPAGEUNLOCK equ 2 ;Internal
  37. MMDEVLDR_IOCTL_RING0THREADHANDLE equ 3 ;Internal
  38. MMDEVLDR_IOCTL_QUEUEAPC equ 4 ;Internal
  39. MMDEVLDR_IOCTL_GETCHANGENOTIFYPTR equ 5 ;Internal
  40. MMDEVLDR_IOCTL_CLOSEVXDHANDLE equ 6 ;Internal
  41. MMDEVLDR_IOCTL_PAGEALLOCATE equ 7 ;Internal
  42. MMDEVLDR_IOCTL_PAGEFREE equ 8 ;Internal
  43. MMDEVLDR_IOCTL_GETDEVICESTATUS equ 9 ;Internal
  44. ;Internal
  45. MM_DEVSTATUS_ERROR equ 0 ;Internal
  46. MM_DEVSTATUS_STARTED equ 1 ;Internal
  47. MM_DEVSTATUS_UNKNOWNPROB equ 2 ;Internal
  48. MM_DEVSTATUS_DISABLED equ 3 ;Internal
  49. endif