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.

23 lines
560 B

  1. /**************************************************************************
  2. File: util.h
  3. Description:
  4. **************************************************************************/
  5. #include <tchar.h>
  6. #ifdef __cplusplus
  7. extern "C"
  8. {
  9. #endif
  10. BOOL GetRegKeyValue(HINSTANCE hInstance, HKEY hRootKey, LPTSTR szBaseKey,int valueStrID, LPTSTR szValue);
  11. void DisplayMessage(LPCSTR szMessage, LPCSTR szFormat=0);
  12. BOOL Succeeded(HANDLE h, LPCSTR strFunctionName);
  13. BOOL Succeeded1(BOOL h, LPCSTR strFunctionName);
  14. #ifdef __cplusplus
  15. }
  16. #endif