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.

40 lines
1.0 KiB

  1. #ifndef _MWMIDEFS_H
  2. #define _MWMIDEFS_H
  3. //
  4. // Copyright (c) Microsoft. All Rights Reserved
  5. //
  6. // THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Microsoft.
  7. // The copyright notice above does not evidence any
  8. // actual or intended publication of such source code.
  9. //
  10. // OneLiner : MWMIDefs interface.
  11. // DevUnit : wlbstest
  12. // Author : Murtaza Hakim
  13. //
  14. // Description:
  15. // -----------
  16. // include files
  17. //
  18. #include <wbemidl.h>
  19. #include <comdef.h>
  20. // typedefs for _com_ptr_t
  21. _COM_SMARTPTR_TYPEDEF(IWbemServices, __uuidof(IWbemServices));
  22. _COM_SMARTPTR_TYPEDEF(IWbemLocator, __uuidof(IWbemLocator));
  23. _COM_SMARTPTR_TYPEDEF(IWbemClassObject, __uuidof(IWbemClassObject));
  24. _COM_SMARTPTR_TYPEDEF(IEnumWbemClassObject, __uuidof(IEnumWbemClassObject));
  25. _COM_SMARTPTR_TYPEDEF(IWbemCallResult, __uuidof(IWbemCallResult));
  26. _COM_SMARTPTR_TYPEDEF(IWbemStatusCodeText, __uuidof(IWbemStatusCodeText));
  27. #define NLBMGR_USERNAME (const BSTR) NULL
  28. #define NLBMGR_PASSWORD (const BSTR) NULL
  29. //
  30. // Ensure type safety
  31. typedef class MWmiInstance WmiInstance;
  32. #endif