1
0

util.h 557 B

1234567891011121314151617181920
  1. #ifndef NULLSOFT_UTILH
  2. #define NULLSOFT_UTILH
  3. #include <windows.h>
  4. void WaitForEvent(HANDLE hEvent, DWORD msMaxWaitTime);
  5. char *HRErrorCode(HRESULT hr);
  6. void GuidString(GUID guid, wchar_t *target, size_t len);
  7. GUID StringGUID(const wchar_t *source);
  8. void BinaryString(unsigned char *binary, size_t size, wchar_t *final, size_t len);
  9. const wchar_t *UserTextDescription(unsigned char *binary, size_t size);
  10. const wchar_t *UserTextString(unsigned char *binary, size_t size);
  11. int DoAboutMessageBox(HWND parent, wchar_t* title, wchar_t* message);
  12. #endif