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.

210 lines
3.2 KiB

  1. /*****************************************************************************
  2. C L I P B O O K U T I L I T I E S
  3. Name: cvutil.h
  4. Date: 21-Jan-1994
  5. Creator: John Fu
  6. Description:
  7. This is the header file for cvutil.c
  8. *****************************************************************************/
  9. extern DWORD gXERR_Type;
  10. extern DWORD gXERR_Err;
  11. extern HSZ hszErrorRequest;
  12. VOID AdjustControlSizes(
  13. HWND hwnd);
  14. VOID ShowHideControls(
  15. HWND hwnd);
  16. BOOL AssertConnection(
  17. HWND hwnd);
  18. HCONV InitSysConv(
  19. HWND hwnd,
  20. HSZ hszApp,
  21. HSZ hszTopic,
  22. BOOL fLocal);
  23. BOOL UpdateListBox(
  24. HWND hwnd,
  25. HCONV hConv);
  26. BOOL GetPreviewBitmap(
  27. HWND hwnd,
  28. LPTSTR szName,
  29. UINT index);
  30. VOID SetBitmapToListboxEntry(
  31. HDDEDATA hbmp,
  32. HWND hwndList,
  33. UINT index);
  34. BOOL InitListBox(
  35. HWND hwnd,
  36. HDDEDATA hData);
  37. UINT MyGetFormat(
  38. LPTSTR szFmt,
  39. int mode);
  40. VOID HandleOwnerDraw(
  41. HWND hwnd,
  42. UINT msg,
  43. WPARAM wParam,
  44. LPARAM lParam);
  45. HWND CreateNewListBox(
  46. HWND hwnd,
  47. DWORD style);
  48. BOOL SetClipboardFormatFromDDE(
  49. HWND hwnd,
  50. UINT uiFmt,
  51. HDDEDATA hDDE);
  52. HWND NewWindow(void);
  53. VOID AdjustMDIClientSize(void);
  54. HDDEDATA GetConvDataItem(
  55. HWND hwnd,
  56. LPTSTR szTopic,
  57. LPTSTR szItem,
  58. UINT uiFmt);
  59. LRESULT PASCAL MyMsgFilterProc(
  60. int nCode,
  61. WPARAM wParam,
  62. LPARAM lParam);
  63. HDDEDATA MySyncXact(
  64. LPBYTE lpbData,
  65. DWORD cbDataLen,
  66. HCONV hConv,
  67. HSZ hszItem,
  68. UINT wFmt,
  69. UINT wType,
  70. DWORD dwTimeout,
  71. LPDWORD lpdwResult);
  72. void RequestXactError(
  73. HCONV hConv);
  74. VOID ResetScrollInfo(
  75. HWND hwnd);
  76. BOOL IsShared(
  77. LPLISTENTRY lpLE);
  78. BOOL SetShared(
  79. LPLISTENTRY lpLE,
  80. BOOL fShared);
  81. BOOL LockApp(
  82. BOOL fLock,
  83. LPTSTR lpszComment);
  84. BOOL ForceRenderAll(
  85. HWND hwnd,
  86. PVCLPBRD pVclp);
  87. BOOL UpdateNofMStatus(
  88. HWND hwnd);
  89. BOOL RestoreAllSavedConnections(void);
  90. BOOL CreateNewRemoteWindow(
  91. LPTSTR szMachineName,
  92. BOOL fReconnect);
  93. int MessageBoxID(
  94. HANDLE hInstance,
  95. HWND hwndParent,
  96. UINT TextID,
  97. UINT TitleID,
  98. UINT fuStyle);
  99. int NDdeMessageBox(
  100. HANDLE hInstance,
  101. HWND hwnd,
  102. UINT errCode,
  103. UINT TitleID,
  104. UINT fuStyle);
  105. int SysMessageBox(
  106. HANDLE hInstance,
  107. HWND hwnd,
  108. DWORD dwErr,
  109. UINT TitleID,
  110. UINT fuStyle);
  111. int XactMessageBox(
  112. HANDLE hInstance,
  113. HWND hwnd,
  114. UINT TitleID,
  115. UINT fuStyle);
  116. int DdeMessageBox(
  117. HANDLE hInstance,
  118. HWND hwnd,
  119. UINT errCode,
  120. UINT TitleID,
  121. UINT fuStyle);
  122. void ClearInput (HWND hWnd);
  123. PDATAREQ CreateNewDataReq(void);
  124. BOOL DeleteDataReq(
  125. PDATAREQ pDataReq);
  126. BOOL ProcessDataReq(
  127. HDDEDATA hData,
  128. PDATAREQ pDataReq);