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.

133 lines
4.9 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. wmi.src
  5. Abstract:
  6. WMI dll export definition file
  7. Author:
  8. 16-Jan-1997 AlanWar
  9. Revision History:
  10. --*/
  11. LIBRARY wmi.dll
  12. EXPORTS
  13. #ifdef MEMPHIS
  14. // On memphis all apis are in wmi.dll
  15. WmiDllInitialize
  16. WmiOpenBlock PRIVATE
  17. WmiCloseBlock PRIVATE
  18. WmiQueryAllDataA PRIVATE
  19. WmiQueryAllDataW PRIVATE
  20. WmiQuerySingleInstanceW PRIVATE
  21. WmiQuerySingleInstanceA PRIVATE
  22. WmiSetSingleInstanceW PRIVATE
  23. WmiSetSingleInstanceA PRIVATE
  24. WmiSetSingleItemW PRIVATE
  25. WmiSetSingleItemA PRIVATE
  26. WmiExecuteMethodA PRIVATE
  27. WmiExecuteMethodW PRIVATE
  28. WmiNotificationRegistrationA PRIVATE
  29. WmiNotificationRegistrationW PRIVATE
  30. WmiEnumerateGuids PRIVATE
  31. WmiFreeBuffer PRIVATE
  32. WmiMofEnumerateResourcesW PRIVATE
  33. WmiMofEnumerateResourcesA PRIVATE
  34. WmiFileHandleToInstanceNameW PRIVATE
  35. WmiFileHandleToInstanceNameA PRIVATE
  36. WmiDevInstToInstanceNameW PRIVATE
  37. WmiDevInstToInstanceNameA PRIVATE
  38. WmiQueryGuidInformation PRIVATE
  39. GUID_REGISTRATION_CHANGE_NOTIFICATION
  40. GUID_MOF_RESOURCE_ADDED_NOTIFICATION
  41. #else
  42. // On NT all apis are forwarded to advapi32, but we keep a forwarder dll
  43. // and lib for compatibility
  44. WmiOpenBlock = Advapi32.WmiOpenBlock PRIVATE
  45. WmiCloseBlock = Advapi32.WmiCloseBlock PRIVATE
  46. WmiQueryAllDataA = Advapi32.WmiQueryAllDataA PRIVATE
  47. WmiQueryAllDataW = Advapi32.WmiQueryAllDataW PRIVATE
  48. WmiQuerySingleInstanceW = Advapi32.WmiQuerySingleInstanceW PRIVATE
  49. WmiQuerySingleInstanceA = Advapi32.WmiQuerySingleInstanceA PRIVATE
  50. WmiSetSingleInstanceW = Advapi32.WmiSetSingleInstanceW PRIVATE
  51. WmiSetSingleInstanceA = Advapi32.WmiSetSingleInstanceA PRIVATE
  52. WmiSetSingleItemW = Advapi32.WmiSetSingleItemW PRIVATE
  53. WmiSetSingleItemA = Advapi32.WmiSetSingleItemA PRIVATE
  54. WmiExecuteMethodA = Advapi32.WmiExecuteMethodA PRIVATE
  55. WmiExecuteMethodW = Advapi32.WmiExecuteMethodW PRIVATE
  56. WmiNotificationRegistrationA = ntdll.EtwEtwNotificationRegistrationA PRIVATE
  57. WmiNotificationRegistrationW = ntdll.EtwEtwNotificationRegistrationW PRIVATE
  58. WmiEnumerateGuids = Advapi32.WmiEnumerateGuids PRIVATE
  59. WmiFreeBuffer = Advapi32.WmiFreeBuffer PRIVATE
  60. WmiMofEnumerateResourcesW = Advapi32.WmiMofEnumerateResourcesW PRIVATE
  61. WmiMofEnumerateResourcesA = Advapi32.WmiMofEnumerateResourcesA PRIVATE
  62. WmiFileHandleToInstanceNameW = Advapi32.WmiFileHandleToInstanceNameW PRIVATE
  63. WmiFileHandleToInstanceNameA = Advapi32.WmiFileHandleToInstanceNameA PRIVATE
  64. WmiDevInstToInstanceNameW = Advapi32.WmiDevInstToInstanceNameW PRIVATE
  65. WmiDevInstToInstanceNameA = Advapi32.WmiDevInstToInstanceNameA PRIVATE
  66. WmiQueryGuidInformation = Advapi32.WmiQueryGuidInformation PRIVATE
  67. WmiGetFirstTraceOffset = Advapi32.WmiGetFirstTraceOffset PRIVATE
  68. WmiGetTraceHeader = Advapi32.WmiGetTraceHeader PRIVATE
  69. WmiParseTraceEvent = Advapi32.WmiParseTraceEvent PRIVATE
  70. //
  71. // Tracelog apis
  72. StartTraceA = ntdll.EtwStartTraceA
  73. StartTraceW = ntdll.EtwStartTraceW
  74. StopTraceA = ntdll.EtwStopTraceA
  75. StopTraceW = ntdll.EtwStopTraceW
  76. QueryTraceA = ntdll.EtwQueryTraceA
  77. QueryTraceW = ntdll.EtwQueryTraceW
  78. UpdateTraceA = ntdll.EtwUpdateTraceA
  79. UpdateTraceW = ntdll.EtwUpdateTraceW
  80. FlushTraceA = ntdll.EtwFlushTraceA
  81. FlushTraceW = ntdll.EtwFlushTraceW
  82. ControlTraceA = ntdll.EtwControlTraceA
  83. ControlTraceW = ntdll.EtwControlTraceW
  84. EnableTrace = ntdll.EtwEnableTrace
  85. CreateTraceInstanceId = ntdll.EtwCreateTraceInstanceId
  86. TraceEvent = ntdll.EtwTraceEvent
  87. TraceEventInstance = ntdll.EtwTraceEventInstance
  88. RegisterTraceGuidsA = ntdll.EtwRegisterTraceGuidsA
  89. RegisterTraceGuidsW = ntdll.EtwRegisterTraceGuidsW
  90. UnregisterTraceGuids = ntdll.EtwUnregisterTraceGuids
  91. OpenTraceA = Advapi32.OpenTraceA
  92. OpenTraceW = Advapi32.OpenTraceW
  93. ProcessTrace = Advapi32.ProcessTrace
  94. CloseTrace = Advapi32.CloseTrace
  95. SetTraceCallback = Advapi32.SetTraceCallback
  96. RemoveTraceCallback = Advapi32.RemoveTraceCallback
  97. QueryAllTracesA = ntdll.EtwQueryAllTracesA
  98. QueryAllTracesW = ntdll.EtwQueryAllTracesW
  99. GetTraceLoggerHandle = ntdll.EtwGetTraceLoggerHandle
  100. GetTraceEnableLevel = ntdll.EtwGetTraceEnableLevel
  101. GetTraceEnableFlags = ntdll.EtwGetTraceEnableFlags
  102. EnumerateTraceGuids = ntdll.EtwEnumerateTraceGuids
  103. TraceMessage = ntdll.EtwTraceMessage
  104. TraceMessageVa = ntdll.EtwTraceMessageVa
  105. #endif