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.

196 lines
3.0 KiB

  1. /*++
  2. * File name:
  3. *
  4. * Contents:
  5. * Extra functions exported by tclient.dll
  6. *
  7. * Copyright (C) 1998-1999 Microsoft Corp.
  8. --*/
  9. #ifndef PROTOCOLAPI
  10. #define PROTOCOLAPI __declspec(dllimport)
  11. #endif
  12. #define TSFLAG_COMPRESSION 1
  13. #define TSFLAG_BITMAPCACHE 2
  14. #define TSFLAG_FULLSCREEN 4
  15. PROTOCOLAPI
  16. LPCSTR
  17. SMCAPI
  18. SCConnectEx(
  19. LPCWSTR lpszServerName,
  20. LPCWSTR lpszUserName,
  21. LPCWSTR lpszPassword,
  22. LPCWSTR lpszDomain,
  23. LPCWSTR lpszShell,
  24. INT xRes,
  25. INT yRes,
  26. INT ConnectionFlags,
  27. PVOID *ppCI);
  28. PROTOCOLAPI
  29. LPCSTR
  30. SMCAPI
  31. SCCheck(
  32. PVOID ConnectionInfo,
  33. LPCSTR szCmd,
  34. LPCWSTR szwParam
  35. );
  36. PROTOCOLAPI
  37. LPCSTR
  38. SMCAPI
  39. SCSendtextAsMsgs(
  40. PVOID ConnectionInfo,
  41. LPCWSTR szLine
  42. );
  43. PROTOCOLAPI
  44. LPCSTR
  45. SMCAPI
  46. SCSaveClipboard(
  47. PVOID ConnectionInfo,
  48. LPCSTR szFormatName,
  49. LPCSTR szFileName
  50. );
  51. PROTOCOLAPI
  52. BOOL
  53. SMCAPI
  54. SCIsDead(
  55. PVOID pCI
  56. );
  57. PROTOCOLAPI
  58. LPCSTR
  59. SMCAPI
  60. SCClientTerminate(
  61. PVOID pCI
  62. );
  63. /* ASCII versions */
  64. PROTOCOLAPI
  65. LPCSTR
  66. SMCAPI
  67. SCConnectA (
  68. CHAR *lpszServerName,
  69. CHAR *lpszUserName,
  70. CHAR *lpszPassword,
  71. CHAR *lpszDomain,
  72. INT xResolution,
  73. INT yResolution,
  74. PVOID *ppConnectData
  75. );
  76. PROTOCOLAPI
  77. LPCSTR
  78. SMCAPI
  79. SCConnectExA (
  80. CHAR *lpszServerName,
  81. CHAR *lpszUserName,
  82. CHAR *lpszPassword,
  83. CHAR *lpszDomain,
  84. CHAR *lpszShell,
  85. INT xResolution,
  86. INT yResolution,
  87. INT ConnectionFlags,
  88. PVOID *ppConnectData
  89. );
  90. PROTOCOLAPI
  91. LPCSTR
  92. SMCAPI
  93. SCStartA(
  94. PVOID pConnectData,
  95. CHAR *command
  96. );
  97. PROTOCOLAPI
  98. LPCSTR
  99. SMCAPI
  100. SCCheckA(
  101. PVOID pConnectData,
  102. CHAR *command,
  103. CHAR *param
  104. );
  105. PROTOCOLAPI
  106. LPCSTR
  107. SMCAPI
  108. SCSendtextAsMsgsA(
  109. PVOID pConnectData,
  110. CHAR *line
  111. );
  112. PROTOCOLAPI
  113. LPCSTR
  114. SMCAPI
  115. SCSwitchToProcess(
  116. PVOID pCI,
  117. LPCWSTR lpszParam
  118. );
  119. PROTOCOLAPI
  120. LPCSTR
  121. SMCAPI
  122. SCSendMouseClick(
  123. PVOID pCI,
  124. UINT xPos,
  125. UINT yPos
  126. );
  127. PROTOCOLAPI
  128. UINT
  129. SMCAPI
  130. SCGetSessionId(
  131. PVOID pCI
  132. );
  133. PROTOCOLAPI
  134. LPCSTR
  135. SMCAPI
  136. SCGetClientScreen(
  137. PVOID pCI,
  138. INT left,
  139. INT top,
  140. INT right,
  141. INT bottom,
  142. UINT *puiSize,
  143. PVOID *ppDIB
  144. );
  145. PROTOCOLAPI
  146. LPCSTR
  147. SMCAPI
  148. SCSaveClientScreen(
  149. PVOID pCI,
  150. INT left,
  151. INT top,
  152. INT right,
  153. INT bottom,
  154. LPCSTR szFileName
  155. );
  156. PROTOCOLAPI
  157. LPCSTR
  158. SMCAPI
  159. SCSendVCData(
  160. PVOID pCI,
  161. LPCSTR szVCName,
  162. PVOID pData,
  163. UINT uiSize
  164. );
  165. PROTOCOLAPI
  166. LPCSTR
  167. SMCAPI
  168. SCRecvVCData(
  169. PVOID pCI,
  170. LPCSTR szVCName,
  171. PVOID pData,
  172. UINT uiBlockSize,
  173. UINT *puiBytesRead
  174. );