pm_wctl.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /****************************************************************************
  2. *
  3. * SciTech OS Portability Manager Library
  4. *
  5. * ========================================================================
  6. *
  7. * The contents of this file are subject to the SciTech MGL Public
  8. * License Version 1.0 (the "License"); you may not use this file
  9. * except in compliance with the License. You may obtain a copy of
  10. * the License at http://www.scitechsoft.com/mgl-license.txt
  11. *
  12. * Software distributed under the License is distributed on an
  13. * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  14. * implied. See the License for the specific language governing
  15. * rights and limitations under the License.
  16. *
  17. * The Original Code is Copyright (C) 1991-1998 SciTech Software, Inc.
  18. *
  19. * The Initial Developer of the Original Code is SciTech Software, Inc.
  20. * All Rights Reserved.
  21. *
  22. * ========================================================================
  23. *
  24. * Language: ANSI C
  25. * Environment: Win32, OS/2
  26. *
  27. * Description: Header file to define all the control codes for the DOS
  28. * and Win32 device driver API's for calling from ring 3
  29. * into the ring 0 device drivers.
  30. *
  31. ****************************************************************************/
  32. /* Version function used by all drivers */
  33. PMHELP_CTL_CODE(GETVER ,0x0000),
  34. /* Functions used by obsolete 16-bit DOS TSR */
  35. PMHELP_CTL_CODE(RDREGB ,0x0003),
  36. PMHELP_CTL_CODE(WRREGB ,0x0004),
  37. PMHELP_CTL_CODE(RDREGW ,0x0005),
  38. PMHELP_CTL_CODE(WRREGW ,0x0006),
  39. PMHELP_CTL_CODE(RDREGL ,0x0008),
  40. PMHELP_CTL_CODE(WRREGL ,0x0009),
  41. /* Functions used by obsolete WinDirect */
  42. PMHELP_CTL_CODE(MAPPHYS ,0x000F),
  43. PMHELP_CTL_CODE(GETVESABUF ,0x0013),
  44. /* Functions used by PM library */
  45. PMHELP_CTL_CODE(DPMIINT86 ,0x0014),
  46. PMHELP_CTL_CODE(INT86 ,0x0015),
  47. PMHELP_CTL_CODE(INT86X ,0x0016),
  48. PMHELP_CTL_CODE(CALLREALMODE ,0x0017),
  49. PMHELP_CTL_CODE(ALLOCLOCKED ,0x0018),
  50. PMHELP_CTL_CODE(FREELOCKED ,0x0019),
  51. PMHELP_CTL_CODE(ENABLELFBCOMB ,0x001A),
  52. PMHELP_CTL_CODE(GETPHYSICALADDR ,0x001B),
  53. PMHELP_CTL_CODE(MALLOCSHARED ,0x001D),
  54. PMHELP_CTL_CODE(FREESHARED ,0x001F),
  55. PMHELP_CTL_CODE(LOCKDATAPAGES ,0x0020),
  56. PMHELP_CTL_CODE(UNLOCKDATAPAGES ,0x0021),
  57. PMHELP_CTL_CODE(LOCKCODEPAGES ,0x0022),
  58. PMHELP_CTL_CODE(UNLOCKCODEPAGES ,0x0023),
  59. PMHELP_CTL_CODE(GETCALLGATE ,0x0024),
  60. PMHELP_CTL_CODE(SETCNTPATH ,0x0025),
  61. PMHELP_CTL_CODE(GETPDB ,0x0026),
  62. PMHELP_CTL_CODE(FLUSHTLB ,0x0027),
  63. PMHELP_CTL_CODE(GETPHYSICALADDRRANGE ,0x0028),
  64. PMHELP_CTL_CODE(ALLOCPAGE ,0x0029),
  65. PMHELP_CTL_CODE(FREEPAGE ,0x002A),
  66. PMHELP_CTL_CODE(ENABLERING3IOPL ,0x002B),
  67. PMHELP_CTL_CODE(DISABLERING3IOPL ,0x002C),
  68. PMHELP_CTL_CODE(GASETLOCALPATH ,0x002D),
  69. PMHELP_CTL_CODE(GAGETEXPORTS ,0x002E),
  70. PMHELP_CTL_CODE(GATHUNK ,0x002F),
  71. PMHELP_CTL_CODE(SETNUCLEUSPATH ,0x0030),