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.

40 lines
631 B

  1. /*++
  2. Copyright (C) 1997-2001 Microsoft Corporation
  3. Module Name:
  4. MOFUTILS.H
  5. Abstract:
  6. Declares the MOFUTILS functions.
  7. History:
  8. a-davj 13-July-97 Created.
  9. --*/
  10. #ifndef __MOFUTILS__H_
  11. #define __MOFUTILS__H_
  12. int Trace(bool bError, DWORD dwID, ...);
  13. void PrintUsage();
  14. BOOL GetVerInfo(TCHAR * pResStringName, TCHAR * pRes, DWORD dwResSize);
  15. BOOL bGetString(char * pIn, WCHAR * pOut);
  16. bool ValidFlags(bool bClass, long lFlags);
  17. class IntString
  18. {
  19. TCHAR *m_pString;
  20. public:
  21. IntString(DWORD dwID);
  22. ~IntString();
  23. operator TCHAR *() { return m_pString; }
  24. };
  25. #endif