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.

131 lines
4.8 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 = Advapi32.WmiNotificationRegistrationA PRIVATE
  57. WmiNotificationRegistrationW = Advapi32.WmiNotificationRegistrationW 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 = Advapi32.StartTraceA
  73. StartTraceW = Advapi32.StartTraceW
  74. StopTraceA = Advapi32.StopTraceA
  75. StopTraceW = Advapi32.StopTraceW
  76. QueryTraceA = Advapi32.QueryTraceA
  77. QueryTraceW = Advapi32.QueryTraceW
  78. UpdateTraceA = Advapi32.UpdateTraceA
  79. UpdateTraceW = Advapi32.UpdateTraceW
  80. FlushTraceA = Advapi32.FlushTraceA
  81. FlushTraceW = Advapi32.FlushTraceW
  82. ControlTraceA = Advapi32.ControlTraceA
  83. ControlTraceW = Advapi32.ControlTraceW
  84. EnableTrace = Advapi32.EnableTrace
  85. CreateTraceInstanceId = Advapi32.CreateTraceInstanceId
  86. TraceEvent = Advapi32.TraceEvent
  87. TraceEventInstance = Advapi32.TraceEventInstance
  88. RegisterTraceGuidsA = Advapi32.RegisterTraceGuidsA
  89. RegisterTraceGuidsW = Advapi32.RegisterTraceGuidsW
  90. UnregisterTraceGuids = Advapi32.UnregisterTraceGuids
  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 = Advapi32.QueryAllTracesA
  98. QueryAllTracesW = Advapi32.QueryAllTracesW
  99. GetTraceLoggerHandle = Advapi32.GetTraceLoggerHandle
  100. GetTraceEnableLevel = Advapi32.GetTraceEnableLevel
  101. GetTraceEnableFlags = Advapi32.GetTraceEnableFlags
  102. EnumerateTraceGuids = Advapi32.EnumerateTraceGuids
  103. TraceMessage = Advapi32.TraceMessage
  104. TraceMessageVa = Advapi32.TraceMessageVa
  105. #endif