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.

26 lines
569 B

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Revision History:
  4. --*/
  5. #ifndef _WMIHLP_H
  6. #define _WMIHLP_H
  7. #pragma warning (once : 4200)
  8. #include <wmium.h>
  9. #define MAX_NAME_LENGTH 500
  10. #ifndef OffsetToPtr
  11. #define OffsetToPtr(Base, Offset) ((PBYTE) ((PBYTE)Base + Offset))
  12. #endif
  13. void PrintHeader(WNODE_HEADER Header, CString & output);
  14. void PrintCountedString(LPTSTR lpString, CString & output);
  15. extern "C" {
  16. BOOL MyIsTextUnicode(PVOID string);
  17. };
  18. BOOL ValidHexText(CWnd *parent, const CString &txt, LPDWORD lpData, UINT line = -1);
  19. #endif // _WMIHLP_H