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.

63 lines
1.1 KiB

  1. #ifndef _UTIL_H_
  2. #define _UTIL_H_
  3. DWORD
  4. WriteExtData(
  5. HANDLE hFax,
  6. DWORD dwDeviceId,
  7. LPCWSTR lpcwstrGUID,
  8. LPBYTE lpData,
  9. DWORD dwDataSize,
  10. UINT uTitleId,
  11. HWND hWnd
  12. );
  13. DWORD
  14. ReadExtStringData(
  15. HANDLE hFax,
  16. DWORD dwDeviceId,
  17. LPCWSTR lpcwstrGUID,
  18. CComBSTR &bstrResult,
  19. LPCWSTR lpcwstrDefault,
  20. UINT uTitleId,
  21. HWND hWnd
  22. );
  23. HRESULT
  24. GetDWORDFromDataObject(
  25. IDataObject * lpDataObject,
  26. CLIPFORMAT uFormat,
  27. LPDWORD lpdwValue
  28. );
  29. HRESULT
  30. GetStringFromDataObject(
  31. IDataObject * lpDataObject,
  32. CLIPFORMAT uFormat,
  33. LPWSTR lpwstrBuf,
  34. DWORD dwBufLen
  35. );
  36. void
  37. DisplayRpcErrorMessage(
  38. DWORD ec,
  39. UINT uTitleId,
  40. HWND hWnd
  41. );
  42. void
  43. DisplayErrorMessage(
  44. UINT uTitleId,
  45. UINT uMsgId,
  46. BOOL bCommon,
  47. HWND hWnd
  48. );
  49. DWORD
  50. WinContextHelp(
  51. ULONG_PTR dwHelpId,
  52. HWND hWnd
  53. );
  54. #endif