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.

937 lines
42 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #ifdef APSTUDIO_INVOKED
  10. #include "afxres.h"
  11. #else // APSTUDIO_INVOKED
  12. #include <windows.h>
  13. #include <commctrl.h>
  14. #define IDC_STATIC -1
  15. #endif // APSTUDIO_INVOKED
  16. /////////////////////////////////////////////////////////////////////////////
  17. #undef APSTUDIO_READONLY_SYMBOLS
  18. /////////////////////////////////////////////////////////////////////////////
  19. // English (U.S.) resources
  20. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  21. #ifdef _WIN32
  22. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  23. #pragma code_page(1252)
  24. #endif //_WIN32
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Icon
  28. //
  29. // Icon with lowest ID value placed first to ensure application icon
  30. // remains consistent on all systems.
  31. IDI_GENERIC ICON DISCARDABLE "txtfile.ico"
  32. IDI_DOMAIN ICON DISCARDABLE "group.ico"
  33. IDI_SERVER ICON DISCARDABLE "server.ico"
  34. IDI_SHARE ICON DISCARDABLE "share.ico"
  35. IDI_FILE ICON DISCARDABLE "txtfile.ico"
  36. IDI_GROUP ICON DISCARDABLE "group.ico"
  37. IDI_NETWORK ICON DISCARDABLE "network.ico"
  38. IDI_ROOT ICON DISCARDABLE "world.ico"
  39. IDI_SHAREADMIN ICON DISCARDABLE "sharea.ico"
  40. IDI_DIRECTORY ICON DISCARDABLE "folder.ico"
  41. IDI_TREE ICON DISCARDABLE "tree.ico"
  42. /////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Dialog
  45. //
  46. IDD_MAIN DIALOGEX 0, 0, 497, 300
  47. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  48. CAPTION "WNet enumeration"
  49. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  50. BEGIN
  51. DEFPUSHBUTTON "OK",IDOK,440,7,50,14
  52. CONTROL "Tree1",IDC_TREE,"SysTreeView32",TVS_HASBUTTONS |
  53. TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
  54. WS_BORDER | WS_TABSTOP,7,7,425,286,WS_EX_CLIENTEDGE
  55. END
  56. IDD_START DIALOG DISCARDABLE 6, 18, 200, 248
  57. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  58. CAPTION "Start of enumeration"
  59. FONT 8, "MS Shell Dlg"
  60. BEGIN
  61. GROUPBOX "Scope",IDC_STATIC,5,7,85,85,WS_GROUP
  62. CONTROL "CONNECTED",IDC_RESOURCE_CONNECTED,"Button",
  63. BS_AUTORADIOBUTTON,10,18,72,10
  64. CONTROL "GLOBALNET",IDC_RESOURCE_GLOBALNET,"Button",
  65. BS_AUTORADIOBUTTON,10,30,72,10
  66. CONTROL "REMEMBERED",IDC_RESOURCE_REMEMBERED,"Button",
  67. BS_AUTORADIOBUTTON,10,42,72,10
  68. CONTROL "RECENT",IDC_RESOURCE_RECENT,"Button",BS_AUTORADIOBUTTON,
  69. 10,54,72,10
  70. CONTROL "CONTEXT",IDC_RESOURCE_CONTEXT,"Button",
  71. BS_AUTORADIOBUTTON,10,66,72,10
  72. CONTROL "SHAREABLE",IDC_RESOURCE_SHAREABLE,"Button",
  73. BS_AUTORADIOBUTTON,10,78,72,10
  74. GROUPBOX "Usage",IDC_STATIC,6,96,86,40,WS_GROUP
  75. CONTROL "CONNECTABLE",IDC_RESOURCEUSAGE_CONNECTABLE,"Button",
  76. BS_AUTOCHECKBOX | WS_TABSTOP,11,108,74,10
  77. CONTROL "CONTAINER",IDC_RESOURCEUSAGE_CONTAINER,"Button",
  78. BS_AUTOCHECKBOX | WS_TABSTOP,11,120,74,10
  79. GROUPBOX "Resource type",IDC_STATIC,96,7,59,60,WS_GROUP
  80. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,100,20,50,10
  81. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,100,31,
  82. 51,10
  83. CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,100,42,51,10
  84. CONTROL "Reserved",IDC_RESERVED,"Button",BS_AUTORADIOBUTTON,100,
  85. 52,51,10
  86. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  87. WS_TABSTOP,9,187,59,10
  88. EDITTEXT IDC_REMOTE_TEXT,73,185,113,12,ES_AUTOHSCROLL
  89. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  90. WS_TABSTOP,9,201,59,10
  91. EDITTEXT IDC_PROVIDER_TEXT,73,200,113,12,ES_AUTOHSCROLL
  92. DEFPUSHBUTTON "&OK",IDOK,29,220,129,14
  93. EDITTEXT IDC_BUFFER_SIZE,73,170,113,12,ES_AUTOHSCROLL
  94. LTEXT "Buffer size (bytes):",IDC_STATIC,9,172,58,8
  95. CONTROL "Use WNetFormatNetworkName to display items",
  96. IDC_USE_WNETFORMATNETWORKNAME,"Button",BS_AUTOCHECKBOX |
  97. WS_TABSTOP,9,156,177,10
  98. END
  99. IDD_ROOT DIALOGEX 6, 18, 244, 359
  100. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  101. CAPTION "WNet tests"
  102. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  103. BEGIN
  104. GROUPBOX "Dialogs",-1,6,2,113,117
  105. PUSHBUTTON "WNetConnectionDialog",IDC_CONNECTIONDIALOG,13,12,98,14
  106. PUSHBUTTON "WNetConnectionDialog1",IDC_CONNECTIONDIALOG1,13,26,98,
  107. 14
  108. PUSHBUTTON "WNetDisconnectDialog",IDC_DISCONNECTDIALOG,13,56,98,14
  109. PUSHBUTTON "WNetDisconnectDialog1",IDC_DISCONNECTDIALOG1,13,70,98,
  110. 14
  111. GROUPBOX "Miscellaneous",-1,5,142,233,109
  112. PUSHBUTTON "WNetGetConnection",IDC_GETCONNECTION,130,156,98,14
  113. PUSHBUTTON "WNetGetConnection2 (NT)",IDC_GETCONNECTION2,130,170,98,
  114. 14
  115. PUSHBUTTON "WNetFormatNetworkName",IDC_FORMATNETWORKNAME,12,155,98,
  116. 14
  117. PUSHBUTTON "WNetGetNetworkInformation",IDC_GETNETWORKINFORMATION,12,
  118. 171,98,14
  119. PUSHBUTTON "WNetGetResourceInformation",IDC_GETRESOURCEINFORMATION,
  120. 12,217,98,14
  121. PUSHBUTTON "WNetGetResourceParent",IDC_GETRESOURCEPARENT,12,233,98,
  122. 14
  123. GROUPBOX "Adding Connections",-1,125,1,113,74
  124. PUSHBUTTON "WNetAddConnection",IDC_ADDCONNECTION,133,12,98,14
  125. PUSHBUTTON "WNetAddConnection2",IDC_ADDCONNECTION2,133,26,98,14
  126. PUSHBUTTON "WNetAddConnection3",IDC_ADDCONNECTION3,133,40,98,14
  127. PUSHBUTTON "WNetUseConnection",IDC_USECONNECTION,133,54,98,14
  128. GROUPBOX "Removing Connections",-1,125,79,113,50
  129. PUSHBUTTON "WNetCancelConnection",IDC_CANCELCONNECTION,133,94,98,14
  130. PUSHBUTTON "WNetCancelConnection2",IDC_CANCELCONNECTION2,133,108,98,
  131. 14
  132. PUSHBUTTON "Do Enumeration",IDC_ENUMERATE,14,124,98,14
  133. DEFPUSHBUTTON "&Exit",IDOK,95,340,47,14
  134. PUSHBUTTON "WNetGetUniversalName",IDC_GETUNIVERSALNAME,130,217,98,
  135. 14
  136. PUSHBUTTON "WNetGetUser",IDC_GETUSER,130,232,98,14
  137. PUSHBUTTON "MultinetGetConnectionPerformance",
  138. IDC_GETCONNECTIONPERFORMANCE,130,199,98,14,BS_LEFT
  139. PUSHBUTTON "WNetBrowseDialog (private)",IDC_BROWSEDIALOG,13,100,98,
  140. 14
  141. PUSHBUTTON "WNetGetProviderType (NT)",IDC_GETPROVIDERTYPE,12,185,98,
  142. 14
  143. PUSHBUTTON "WNetGetProviderName",IDC_GETPROVIDERNAME,12,200,98,14
  144. PUSHBUTTON "WNetGetConnection3 (NT)",IDC_GETCONNECTION3,130,185,98,
  145. 14
  146. PUSHBUTTON "WNetConnectionDialog2 (NT)",IDC_CONNECTIONDIALOG2,13,40,
  147. 98,14
  148. PUSHBUTTON "WNetDisconnectDialog2 (NT)",IDC_DISCONNECTDIALOG2,13,84,
  149. 98,14
  150. EDITTEXT IDC_MESSAGES,6,256,233,79,ES_MULTILINE | ES_AUTOVSCROLL |
  151. ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL,
  152. WS_EX_CLIENTEDGE
  153. END
  154. IDD_DISCONNECTDIALOG1 DIALOG DISCARDABLE 6, 18, 200, 165
  155. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  156. CAPTION "WNetDisconnectDialog1 test"
  157. FONT 8, "MS Shell Dlg"
  158. BEGIN
  159. GROUPBOX "Flags",113,4,18,112,36
  160. CONTROL "DISC_UPDATE_PROFILE",IDC_UPDATE_PROFILE,"Button",
  161. BS_AUTOCHECKBOX | WS_TABSTOP,9,30,103,10
  162. CONTROL "DISC_NO_FORCE",IDC_NO_FORCE,"Button",BS_AUTOCHECKBOX |
  163. WS_TABSTOP,9,40,103,10
  164. DEFPUSHBUTTON "&Do It",IDC_GO,47,132,40,14,WS_GROUP
  165. PUSHBUTTON "&Exit",IDOK,103,132,40,14
  166. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  167. WS_TABSTOP,6,60,59,10
  168. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  169. WS_TABSTOP,6,74,59,10
  170. EDITTEXT IDC_LOCAL_TEXT,70,59,113,12,ES_AUTOHSCROLL
  171. EDITTEXT IDC_REMOTE_TEXT,70,73,113,12,ES_AUTOHSCROLL
  172. RTEXT "Last error:",-1,3,91,38,8
  173. LTEXT "x",IDC_ERROR,43,91,153,30
  174. CONTROL "Pass in a NULL pointer as the parameter?",IDC_NULL,
  175. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,4,176,10
  176. END
  177. IDD_CONNECTIONDIALOG DIALOG DISCARDABLE 7, 22, 199, 119
  178. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  179. CAPTION "WNetConnectionDialog test"
  180. FONT 8, "MS Shell Dlg"
  181. BEGIN
  182. GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
  183. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
  184. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
  185. 51,10
  186. DEFPUSHBUTTON "&Do It",IDC_GO,51,99,40,14,WS_GROUP
  187. PUSHBUTTON "&Exit",IDOK,107,99,40,14
  188. RTEXT "Last error:",-1,0,49,38,8
  189. LTEXT "x",IDC_ERROR,40,49,153,45
  190. END
  191. IDD_DISCONNECTDIALOG DIALOG DISCARDABLE 7, 22, 203, 104
  192. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  193. CAPTION "WNetDisconnectDialog test"
  194. FONT 8, "MS Shell Dlg"
  195. BEGIN
  196. GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
  197. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
  198. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
  199. 51,10
  200. DEFPUSHBUTTON "&Do It",IDC_GO,53,84,40,14,WS_GROUP
  201. PUSHBUTTON "&Exit",IDOK,109,84,40,14
  202. RTEXT "Last error:",-1,0,50,38,8
  203. LTEXT "x",IDC_ERROR,40,50,153,30
  204. END
  205. IDD_GETCONNECTION DIALOG DISCARDABLE 6, 18, 205, 164
  206. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  207. CAPTION "WNetGetConnection test"
  208. FONT 8, "MS Shell Dlg"
  209. BEGIN
  210. RTEXT "Local name:",-1,4,8,62,8
  211. EDITTEXT IDC_LOCAL_TEXT,71,6,129,12,ES_AUTOHSCROLL
  212. RTEXT "Input buf size:",-1,11,22,72,8
  213. LTEXT "x",IDC_BUFSIZEIN,85,22,96,8
  214. RTEXT "Returned buf size:",-1,10,31,72,8
  215. LTEXT "x",IDC_BUFSIZE,84,31,96,8
  216. RTEXT "Returned name:",-1,11,41,72,8
  217. LTEXT "x",IDC_REMOTE,85,41,116,50
  218. RTEXT "Last error:",-1,4,95,38,8
  219. LTEXT "x",IDC_ERROR,44,95,153,45
  220. DEFPUSHBUTTON "&Do It",IDC_GO,47,144,40,14,WS_GROUP
  221. PUSHBUTTON "&Exit",IDOK,103,144,40,14
  222. END
  223. IDD_CANCELCONNECTION2 DIALOG DISCARDABLE 6, 18, 201, 137
  224. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  225. CAPTION "WNetCancelConnection2 test"
  226. FONT 8, "MS Shell Dlg"
  227. BEGIN
  228. RTEXT "Last error:",-1,5,65,38,8
  229. LTEXT "x",IDC_ERROR,45,65,153,48
  230. DEFPUSHBUTTON "&Do It",IDC_GO,52,117,40,14,WS_GROUP
  231. PUSHBUTTON "&Exit",IDOK,108,117,40,14
  232. EDITTEXT IDC_LOCAL_TEXT,71,6,113,12,ES_AUTOHSCROLL
  233. RTEXT "Name:",-1,4,8,62,8
  234. GROUPBOX "Force?",-1,5,24,59,36,WS_GROUP
  235. CONTROL "Yes",IDC_FORCE,"Button",BS_AUTORADIOBUTTON,10,36,30,10
  236. CONTROL "No",IDC_NOFORCE,"Button",BS_AUTORADIOBUTTON,10,46,30,10
  237. GROUPBOX "Flags",-1,71,25,126,36
  238. CONTROL "CONNECT_UPDATE_PROFILE",IDC_UPDATE_PROFILE,"Button",
  239. BS_AUTOCHECKBOX | WS_TABSTOP,76,37,119,10
  240. CONTROL "CONNECT_REFCOUNT",IDC_REFCOUNT,"Button",BS_AUTOCHECKBOX |
  241. WS_TABSTOP,76,47,118,10
  242. END
  243. IDD_CONNECTIONDIALOG1 DIALOG DISCARDABLE 6, 18, 199, 186
  244. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  245. CAPTION "WNetConnectionDialog1 test"
  246. FONT 8, "MS Shell Dlg"
  247. BEGIN
  248. GROUPBOX "Flags",113,0,28,114,79
  249. CONTROL "CONNDLG_RO_PATH",IDC_RO_PATH,"Button",BS_AUTOCHECKBOX |
  250. WS_TABSTOP,7,42,103,10
  251. CONTROL "CONNDLG_USE_MRU",IDC_USE_MRU,"Button",BS_AUTOCHECKBOX |
  252. WS_TABSTOP,7,52,103,10
  253. CONTROL "CONNDLG_HIDE_BOX",IDC_HIDE_BOX,"Button",BS_AUTOCHECKBOX |
  254. WS_TABSTOP,7,62,103,10
  255. CONTROL "CONNDLG_PERSIST",IDC_PERSIST,"Button",BS_AUTOCHECKBOX |
  256. WS_TABSTOP,7,72,103,10
  257. CONTROL "CONNDLG_NOT_PERSIST",IDC_NOT_PERSIST,"Button",
  258. BS_AUTOCHECKBOX | WS_TABSTOP,7,82,103,10
  259. CONTROL "CONNDLG_CONN_POINT",IDC_CONN_POINT,"Button",
  260. BS_AUTOCHECKBOX | WS_TABSTOP,7,92,103,10
  261. GROUPBOX "Remote Path?",IDC_BUFSIZEIN,119,30,59,36,WS_GROUP
  262. CONTROL "Yes",IDC_YESPATH,"Button",BS_AUTORADIOBUTTON,124,42,30,
  263. 10
  264. CONTROL "No",IDC_NOPATH,"Button",BS_AUTORADIOBUTTON,124,52,30,10
  265. GROUPBOX "Resource type",109,119,68,59,39,WS_GROUP
  266. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,123,81,50,10
  267. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,123,91,
  268. 51,10
  269. RTEXT "Last device number:",116,2,111,72,8
  270. LTEXT "x",IDC_DEVICE,76,111,96,8
  271. DEFPUSHBUTTON "&Do It",IDC_GO,42,161,40,14,WS_GROUP
  272. PUSHBUTTON "&Exit",IDOK,98,161,40,14
  273. RTEXT "Last error:",IDC_STATIC,3,120,38,8
  274. LTEXT "x",IDC_ERROR,44,121,153,37
  275. CONTROL "Pass in a NULL pointer as the parameter?",IDC_NULL,
  276. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,4,176,10
  277. EDITTEXT IDC_REMOTE_TEXT,70,15,113,12,ES_AUTOHSCROLL
  278. LTEXT "Remote name:",IDC_STATIC,6,16,57,10
  279. END
  280. IDD_ADDCONNECTION3 DIALOG DISCARDABLE 6, 18, 199, 233
  281. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  282. CAPTION "WNetAddConnection3 test"
  283. FONT 8, "MS Shell Dlg"
  284. BEGIN
  285. GROUPBOX "Flags",-1,5,7,126,65
  286. CONTROL "CONNECT_TEMPORARY",IDC_CONNECT_TEMPORARY,"Button",
  287. BS_AUTOCHECKBOX | WS_TABSTOP,10,18,103,10
  288. CONTROL "CONNECT_INTERACTIVE",IDC_CONNECT_INTERACTIVE,"Button",
  289. BS_AUTOCHECKBOX | WS_TABSTOP,10,28,103,10
  290. CONTROL "CONNECT_PROMPT",IDC_CONNECT_PROMPT,"Button",
  291. BS_AUTOCHECKBOX | WS_TABSTOP,10,38,103,10
  292. CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
  293. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,48,118,10
  294. CONTROL "CONNECT_UPDATE_RECENT",IDC_CONNECT_UPDATE_RECENT,
  295. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,58,118,10
  296. GROUPBOX "HWND",-1,135,7,59,36,WS_GROUP
  297. CONTROL "Valid",IDC_HWND_VALID,"Button",BS_AUTORADIOBUTTON,140,
  298. 19,30,10
  299. CONTROL "NULL",IDC_HWND_NO,"Button",BS_AUTORADIOBUTTON,140,29,49,
  300. 10
  301. GROUPBOX "Resource type",-1,135,45,59,39,WS_GROUP
  302. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,139,58,50,10
  303. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,139,68,
  304. 51,10
  305. RTEXT "Last error:",-1,4,173,38,8
  306. LTEXT "x",IDC_ERROR,44,173,153,37
  307. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  308. WS_TABSTOP,6,91,59,10
  309. EDITTEXT IDC_LOCAL_TEXT,70,90,113,12,ES_AUTOHSCROLL
  310. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  311. WS_TABSTOP,6,105,59,10
  312. EDITTEXT IDC_REMOTE_TEXT,70,104,113,12,ES_AUTOHSCROLL
  313. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  314. WS_TABSTOP,6,120,59,10
  315. EDITTEXT IDC_PROVIDER_TEXT,70,119,113,12,ES_AUTOHSCROLL
  316. CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
  317. WS_TABSTOP,6,135,59,10
  318. EDITTEXT IDC_PASSWORD_TEXT,70,134,113,12,ES_AUTOHSCROLL
  319. CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
  320. WS_TABSTOP,6,149,59,10
  321. EDITTEXT IDC_USER_TEXT,70,148,113,12,ES_AUTOHSCROLL
  322. DEFPUSHBUTTON "&Do It",IDC_GO,43,215,40,14,WS_GROUP
  323. PUSHBUTTON "&Exit",IDOK,99,215,40,14
  324. END
  325. IDD_USECONNECTION DIALOG DISCARDABLE 6, 18, 199, 316
  326. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  327. CAPTION "WNetUseConnection test"
  328. FONT 8, "MS Shell Dlg"
  329. BEGIN
  330. GROUPBOX "Flags",-1,5,7,126,86
  331. CONTROL "CONNECT_TEMPORARY",IDC_CONNECT_TEMPORARY,"Button",
  332. BS_AUTOCHECKBOX | WS_TABSTOP,10,18,118,10
  333. CONTROL "CONNECT_INTERACTIVE",IDC_CONNECT_INTERACTIVE,"Button",
  334. BS_AUTOCHECKBOX | WS_TABSTOP,10,28,118,10
  335. CONTROL "CONNECT_PROMPT",IDC_CONNECT_PROMPT,"Button",
  336. BS_AUTOCHECKBOX | WS_TABSTOP,10,38,118,10
  337. CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
  338. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,48,118,10
  339. CONTROL "CONNECT_UPDATE_RECENT",IDC_CONNECT_UPDATE_RECENT,
  340. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,58,118,10
  341. CONTROL "CONNECT_REDIRECT",IDC_CONNECT_REDIRECT,"Button",
  342. BS_AUTOCHECKBOX | WS_TABSTOP,10,68,118,10
  343. CONTROL "CONNECT_CURRENT_MEDIA",IDC_CONNECT_CURRENT_MEDIA,
  344. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,78,118,10
  345. GROUPBOX "HWND",-1,135,7,59,33,WS_GROUP
  346. CONTROL "Valid",IDC_HWND_VALID,"Button",BS_AUTORADIOBUTTON,139,
  347. 17,49,10
  348. CONTROL "NULL",IDC_HWND_NO,"Button",BS_AUTORADIOBUTTON,139,27,49,
  349. 10
  350. GROUPBOX "Resource type",-1,134,41,59,33,WS_GROUP
  351. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,138,51,50,10
  352. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,138,61,
  353. 51,10
  354. GROUPBOX "Access Name Buffer?",-1,6,94,124,33,WS_GROUP
  355. CONTROL "Yes",IDC_ACCESS_YES,"Button",BS_AUTORADIOBUTTON,10,104,
  356. 50,10
  357. CONTROL "No",IDC_ACCESS_NO,"Button",BS_AUTORADIOBUTTON,10,114,51,
  358. 10
  359. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  360. WS_GROUP | WS_TABSTOP,5,131,59,10
  361. EDITTEXT IDC_LOCAL_TEXT,69,130,113,12,ES_AUTOHSCROLL
  362. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  363. WS_TABSTOP,5,145,59,10
  364. EDITTEXT IDC_REMOTE_TEXT,69,144,113,12,ES_AUTOHSCROLL
  365. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  366. WS_TABSTOP,5,160,59,10
  367. EDITTEXT IDC_PROVIDER_TEXT,69,159,113,12,ES_AUTOHSCROLL
  368. CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
  369. WS_TABSTOP,5,175,59,10
  370. EDITTEXT IDC_PASSWORD_TEXT,69,174,113,12,ES_AUTOHSCROLL
  371. CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
  372. WS_TABSTOP,5,189,59,10
  373. EDITTEXT IDC_USER_TEXT,69,188,113,12,ES_AUTOHSCROLL
  374. RTEXT "Buffer size:",-1,3,209,59,8
  375. LTEXT "x",IDC_BUFSIZE,66,210,131,8
  376. RTEXT "Access Name:",-1,3,218,60,8
  377. LTEXT "x",IDC_ACCESSNAME,66,218,131,8
  378. RTEXT "Result:",-1,3,226,60,8
  379. LTEXT "x",IDC_RESULT,66,226,131,34
  380. RTEXT "Last error:",-1,3,261,38,8
  381. LTEXT "x",IDC_ERROR,44,260,153,37
  382. DEFPUSHBUTTON "&Do It",IDC_GO,47,299,40,14,WS_GROUP
  383. PUSHBUTTON "&Exit",IDOK,103,299,40,14
  384. END
  385. IDD_ADDCONNECTION DIALOG DISCARDABLE 6, 18, 199, 115
  386. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  387. CAPTION "WNetAddConnection test"
  388. FONT 8, "MS Shell Dlg"
  389. BEGIN
  390. RTEXT "Last error:",-1,3,50,38,8
  391. LTEXT "x",IDC_ERROR,43,50,153,37
  392. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  393. WS_TABSTOP,6,5,59,10
  394. EDITTEXT IDC_LOCAL_TEXT,70,4,113,12,ES_AUTOHSCROLL
  395. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  396. WS_TABSTOP,6,19,59,10
  397. EDITTEXT IDC_REMOTE_TEXT,70,18,113,12,ES_AUTOHSCROLL
  398. CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
  399. WS_TABSTOP,6,33,59,10
  400. EDITTEXT IDC_PASSWORD_TEXT,70,32,113,12,ES_AUTOHSCROLL
  401. DEFPUSHBUTTON "&Do It",IDC_GO,47,94,40,14,WS_GROUP
  402. PUSHBUTTON "&Exit",IDOK,103,94,40,14
  403. END
  404. IDD_ADDCONNECTION2 DIALOG DISCARDABLE 6, 18, 199, 189
  405. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  406. CAPTION "WNetAddConnection2 test"
  407. FONT 8, "MS Shell Dlg"
  408. BEGIN
  409. GROUPBOX "Flags",-1,5,7,126,28
  410. CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
  411. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,19,118,10
  412. GROUPBOX "Resource type",-1,136,7,59,39,WS_GROUP
  413. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,140,20,50,10
  414. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,140,30,
  415. 51,10
  416. RTEXT "Last error:",-1,4,129,38,8
  417. LTEXT "x",IDC_ERROR,44,129,153,37
  418. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  419. WS_TABSTOP,8,56,59,10
  420. EDITTEXT IDC_LOCAL_TEXT,72,55,113,12,ES_AUTOHSCROLL
  421. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  422. WS_TABSTOP,8,70,59,10
  423. EDITTEXT IDC_REMOTE_TEXT,72,69,113,12,ES_AUTOHSCROLL
  424. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  425. WS_TABSTOP,8,85,59,10
  426. EDITTEXT IDC_PROVIDER_TEXT,72,84,113,12,ES_AUTOHSCROLL
  427. CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
  428. WS_TABSTOP,8,100,59,10
  429. EDITTEXT IDC_PASSWORD_TEXT,72,99,113,12,ES_AUTOHSCROLL
  430. CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
  431. WS_TABSTOP,8,114,59,10
  432. EDITTEXT IDC_USER_TEXT,72,113,113,12,ES_AUTOHSCROLL
  433. DEFPUSHBUTTON "&Do It",IDC_GO,47,170,40,14,WS_GROUP
  434. PUSHBUTTON "&Exit",IDOK,103,170,40,14
  435. END
  436. IDD_CANCELCONNECTION DIALOG DISCARDABLE 6, 18, 201, 137
  437. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  438. CAPTION "WNetCancelConnection test"
  439. FONT 8, "MS Shell Dlg"
  440. BEGIN
  441. RTEXT "Last error:",-1,5,65,38,8
  442. LTEXT "x",IDC_ERROR,45,65,153,48
  443. DEFPUSHBUTTON "&Do It",IDC_GO,52,117,40,14,WS_GROUP
  444. PUSHBUTTON "&Exit",IDOK,108,117,40,14
  445. EDITTEXT IDC_LOCAL_TEXT,71,6,113,12,ES_AUTOHSCROLL
  446. RTEXT "Name:",-1,4,8,62,8
  447. GROUPBOX "Force?",-1,5,24,59,36,WS_GROUP
  448. CONTROL "Yes",IDC_FORCE,"Button",BS_AUTORADIOBUTTON,10,36,30,10
  449. CONTROL "No",IDC_NOFORCE,"Button",BS_AUTORADIOBUTTON,10,46,30,10
  450. END
  451. IDD_FORMATNETWORKNAME DIALOG DISCARDABLE 6, 18, 199, 197
  452. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  453. CAPTION "WNetFormatNetworkName test"
  454. FONT 8, "MS Shell Dlg"
  455. BEGIN
  456. GROUPBOX "Flags",-1,5,7,126,54
  457. CONTROL "WNFMT_MULTILINE",IDC_MULTILINE,"Button",BS_AUTOCHECKBOX |
  458. WS_TABSTOP,10,18,103,10
  459. CONTROL "WNFMT_ABBREVIATED",IDC_ABBREVIATED,"Button",
  460. BS_AUTOCHECKBOX | WS_TABSTOP,10,28,103,10
  461. CONTROL "WNFMT_INENUM",IDC_INENUM,"Button",BS_AUTOCHECKBOX |
  462. WS_TABSTOP,10,39,103,10
  463. RTEXT "Last error:",-1,4,134,38,8
  464. LTEXT "x",IDC_ERROR,44,134,153,37
  465. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  466. WS_TABSTOP,4,74,59,10
  467. EDITTEXT IDC_REMOTE_TEXT,68,73,113,12,ES_AUTOHSCROLL
  468. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  469. WS_TABSTOP,4,89,59,10
  470. EDITTEXT IDC_PROVIDER_TEXT,68,88,113,12,ES_AUTOHSCROLL
  471. DEFPUSHBUTTON "&Do It",IDC_GO,43,180,40,14,WS_GROUP
  472. PUSHBUTTON "&Exit",IDOK,99,180,40,14
  473. RTEXT "Return:",-1,1,105,38,8
  474. LTEXT "x",IDC_RETURN,41,105,153,26
  475. END
  476. IDD_GETNETWORKINFORMATION DIALOG DISCARDABLE 6, 18, 199, 157
  477. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  478. CAPTION "WNetGetNetworkInformation test"
  479. FONT 8, "MS Shell Dlg"
  480. BEGIN
  481. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  482. WS_TABSTOP,8,7,59,10
  483. EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
  484. RTEXT "Provider Version:",-1,7,33,74,8
  485. LTEXT "x",IDC_PROVIDERVERSION,86,33,97,8
  486. RTEXT "Status:",-1,7,41,74,8
  487. LTEXT "x",IDC_STATUS,86,41,97,8
  488. RTEXT "Characteristics:",-1,7,49,74,8
  489. LTEXT "x",IDC_CHARACTERISTICS,86,49,97,8
  490. RTEXT "Handle:",-1,7,57,74,8
  491. LTEXT "x",IDC_HANDLE,86,57,97,8
  492. RTEXT "Net Type:",-1,7,65,74,8
  493. LTEXT "x",IDC_NETTYPE,86,65,97,8
  494. RTEXT "Printers:",-1,7,73,74,8
  495. LTEXT "x",IDC_PRINTERS,86,73,97,8
  496. RTEXT "Drives:",-1,7,81,74,8
  497. LTEXT "x",IDC_DRIVES,86,81,97,8
  498. RTEXT "Last error:",-1,5,95,38,8
  499. LTEXT "x",IDC_ERROR,45,95,153,37
  500. DEFPUSHBUTTON "&Do It",IDC_GO,48,136,40,14,WS_GROUP
  501. PUSHBUTTON "&Exit",IDOK,104,136,40,14
  502. END
  503. IDD_GETCONNECTION2 DIALOG DISCARDABLE 6, 18, 306, 221
  504. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  505. CAPTION "WNetGetConnection2 test"
  506. FONT 8, "MS Shell Dlg"
  507. BEGIN
  508. RTEXT "Local name:",IDC_STATIC,4,28,62,8
  509. EDITTEXT IDC_LOCAL_TEXT,71,26,129,12,ES_AUTOHSCROLL
  510. RTEXT "Input buf size:",IDC_STATIC,9,46,72,8
  511. LTEXT "x",IDC_BUFSIZEIN,84,47,152,8
  512. RTEXT "Returned buf size:",IDC_STATIC,9,56,72,8
  513. LTEXT "x",IDC_BUFSIZE,84,57,152,8
  514. RTEXT "Returned remote name:",IDC_STATIC,4,70,81,8
  515. LTEXT "x",IDC_REMOTE,89,72,212,36
  516. RTEXT "Returned provider name:",IDC_STATIC,5,110,81,8
  517. LTEXT "x",IDC_PROVIDER,89,110,214,36
  518. RTEXT "Last error:",IDC_STATIC,8,151,38,8
  519. LTEXT "x",IDC_ERROR,48,151,153,45
  520. DEFPUSHBUTTON "&Do It",IDC_GO,62,199,40,14,WS_GROUP
  521. PUSHBUTTON "&Exit",IDOK,118,199,40,14
  522. LTEXT "NOTE: This is an NT-only API!",IDC_STATIC,3,3,297,14
  523. END
  524. IDD_GETRESOURCEINFORMATION DIALOG DISCARDABLE 0, 0, 322, 249
  525. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  526. CAPTION "WNetGetResourceInformation"
  527. FONT 8, "MS Shell Dlg"
  528. BEGIN
  529. GROUPBOX "Resource type",IDC_STATIC,7,7,59,46,WS_GROUP
  530. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,11,17,50,10
  531. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,11,28,
  532. 51,10
  533. CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,11,39,50,10
  534. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  535. WS_TABSTOP,84,15,59,10
  536. EDITTEXT IDC_REMOTE_TEXT,149,14,166,12,ES_AUTOHSCROLL
  537. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  538. WS_TABSTOP,84,30,59,10
  539. EDITTEXT IDC_PROVIDER_TEXT,149,30,166,12,ES_AUTOHSCROLL
  540. RTEXT "Returned Remote Name:",IDC_STATIC,7,60,95,8
  541. LTEXT "x",IDC_RETURNREMOTE,108,60,191,8
  542. RTEXT "Returned Provider:",IDC_STATIC,7,69,95,8
  543. LTEXT "x",IDC_RETURNPROVIDER,108,69,191,8
  544. RTEXT "Returned Scope:",IDC_STATIC,7,120,95,8
  545. LTEXT "x",IDC_RETURNSCOPE,108,120,191,8
  546. RTEXT "Returned Type:",IDC_STATIC,7,77,95,8
  547. LTEXT "x",IDC_RETURNTYPE,108,77,191,8
  548. RTEXT "Returned System Part:",IDC_STATIC,7,102,95,8
  549. LTEXT "x",IDC_RETURNSYSTEM,108,102,191,8
  550. RTEXT "Last error:",IDC_STATIC,7,178,38,8
  551. LTEXT "x",IDC_ERROR,47,178,153,37
  552. DEFPUSHBUTTON "&Do It",IDC_GO,62,221,40,14,WS_GROUP
  553. PUSHBUTTON "&Exit",IDOK,118,221,40,14
  554. RTEXT "Returned Usage:",IDC_STATIC,7,94,95,8
  555. LTEXT "x",IDC_RETURNUSAGE,108,94,191,8
  556. RTEXT "Input buf size:",IDC_STATIC,30,153,72,8
  557. RTEXT "Returned buf size:",IDC_STATIC,30,165,72,8
  558. LTEXT "x",IDC_BUFSIZE,105,165,152,8
  559. LTEXT "Docs say these will be NULL:",IDC_STATIC,11,111,96,9
  560. RTEXT "Returned Display Type:",IDC_STATIC,7,85,95,8
  561. LTEXT "x",IDC_RETURNDISPLAYTYPE,108,85,191,8
  562. RTEXT "Returned Local Name:",IDC_STATIC,7,129,95,8
  563. LTEXT "x",IDC_RETURNLOCALNAME,108,129,191,8
  564. RTEXT "Returned Comment:",IDC_STATIC,7,138,95,8
  565. LTEXT "x",IDC_RETURNCOMMENT,108,138,191,8
  566. EDITTEXT IDC_BUFSIZEIN,105,153,58,12,ES_AUTOHSCROLL
  567. END
  568. IDD_GETRESOURCEPARENT DIALOG DISCARDABLE 0, 0, 304, 246
  569. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  570. CAPTION "WNetGetResourceParent"
  571. FONT 8, "MS Shell Dlg"
  572. BEGIN
  573. GROUPBOX "Resource type",IDC_STATIC,7,7,59,46,WS_GROUP
  574. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,11,17,50,10
  575. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,11,28,
  576. 51,10
  577. CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,11,39,50,10
  578. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  579. WS_TABSTOP,71,12,59,10
  580. EDITTEXT IDC_REMOTE_TEXT,136,11,166,12,ES_AUTOHSCROLL
  581. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  582. WS_TABSTOP,71,27,59,10
  583. EDITTEXT IDC_PROVIDER_TEXT,136,26,166,12,ES_AUTOHSCROLL
  584. RTEXT "Returned Remote Name:",IDC_STATIC,7,58,95,8
  585. LTEXT "x",IDC_RETURNREMOTE,106,58,191,8
  586. RTEXT "Returned Provider:",IDC_STATIC,7,67,95,8
  587. LTEXT "x",IDC_RETURNPROVIDER,106,67,191,8
  588. RTEXT "Returned Type:",IDC_STATIC,7,75,95,8
  589. LTEXT "x",IDC_RETURNTYPE,106,75,191,8
  590. RTEXT "Last error:",IDC_STATIC,9,178,38,8
  591. LTEXT "x",IDC_ERROR,49,178,153,37
  592. DEFPUSHBUTTON "&Do It",IDC_GO,65,222,40,14,WS_GROUP
  593. PUSHBUTTON "&Exit",IDOK,121,222,40,14
  594. RTEXT "Returned Usage:",IDC_STATIC,7,84,95,8
  595. LTEXT "x",IDC_RETURNUSAGE,106,84,191,8
  596. RTEXT "Input buf size:",IDC_STATIC,32,150,72,8
  597. LTEXT "x",IDC_BUFSIZEIN,106,150,152,8
  598. RTEXT "Returned buf size:",IDC_STATIC,32,160,72,8
  599. LTEXT "x",IDC_BUFSIZE,106,160,152,8
  600. RTEXT "Returned Scope:",IDC_STATIC,7,115,95,8
  601. LTEXT "x",IDC_RETURNSCOPE,106,115,191,8
  602. RTEXT "Returned Display Type:",IDC_STATIC,7,93,95,8
  603. LTEXT "x",IDC_RETURNDISPLAYTYPE,106,93,191,8
  604. LTEXT "Docs say these will be NULL:",IDC_STATIC,13,105,96,9
  605. RTEXT "Returned Local Name:",IDC_STATIC,7,125,95,8
  606. LTEXT "x",IDC_RETURNLOCALNAME,106,125,191,8
  607. RTEXT "Returned Comment:",IDC_STATIC,7,134,95,8
  608. LTEXT "x",IDC_RETURNCOMMENT,106,134,191,8
  609. END
  610. IDD_GETUNIVERSALNAME DIALOG DISCARDABLE 0, 0, 328, 191
  611. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  612. CAPTION "WNetGetUniversalName"
  613. FONT 8, "MS Shell Dlg"
  614. BEGIN
  615. GROUPBOX "Info level",IDC_STATIC,7,7,90,39,WS_GROUP
  616. CONTROL "Universal",IDC_UNIVERSALLEVEL,"Button",
  617. BS_AUTORADIOBUTTON,11,20,50,10
  618. CONTROL "Remote",IDC_REMOTELEVEL,"Button",BS_AUTORADIOBUTTON,11,
  619. 30,51,10
  620. RTEXT "Last error:",IDC_STATIC,7,129,38,8
  621. LTEXT "x",IDC_ERROR,51,129,153,37
  622. CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  623. WS_TABSTOP,11,56,59,10
  624. EDITTEXT IDC_LOCAL_TEXT,75,55,113,12,ES_AUTOHSCROLL
  625. DEFPUSHBUTTON "&Do It",IDC_GO,51,170,40,14,WS_GROUP
  626. PUSHBUTTON "&Exit",IDOK,107,170,40,14
  627. RTEXT "Returned Universal Name:",IDC_STATIC,7,71,95,8
  628. LTEXT "x",IDC_RETURNUNIVERSAL,106,71,191,8
  629. RTEXT "Returned Connection Name:",IDC_STATIC,7,80,95,8
  630. LTEXT "x",IDC_RETURNCONNECTION,106,79,191,8
  631. RTEXT "Returned Remaining Path:",IDC_STATIC,7,88,95,8
  632. LTEXT "x",IDC_RETURNREMAINING,106,87,191,8
  633. RTEXT "Input buf size:",IDC_STATIC,30,101,72,8
  634. LTEXT "x",IDC_BUFSIZEIN,105,102,152,8
  635. RTEXT "Returned buf size:",IDC_STATIC,30,112,72,8
  636. LTEXT "x",IDC_BUFSIZE,105,113,152,8
  637. END
  638. IDD_GETUSER DIALOG DISCARDABLE 0, 0, 327, 124
  639. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  640. CAPTION "WNetGetUser"
  641. FONT 8, "MS Shell Dlg"
  642. BEGIN
  643. RTEXT "Last error:",IDC_STATIC,7,60,38,8
  644. LTEXT "x",IDC_ERROR,51,60,153,37
  645. CONTROL "Name:",IDC_NAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  646. 11,9,33,10
  647. EDITTEXT IDC_NAME_TEXT,52,8,136,12,ES_AUTOHSCROLL
  648. DEFPUSHBUTTON "&Do It",IDC_GO,51,101,40,14,WS_GROUP
  649. PUSHBUTTON "&Exit",IDOK,107,101,40,14
  650. RTEXT "Returned User Name:",IDC_STATIC,7,24,95,8
  651. LTEXT "x",IDC_RETURNUSER,106,24,191,8
  652. RTEXT "Input buf size:",IDC_STATIC,31,35,72,8
  653. LTEXT "x",IDC_BUFSIZEIN,107,36,152,8
  654. RTEXT "Returned buf size:",IDC_STATIC,31,46,72,8
  655. LTEXT "x",IDC_BUFSIZE,107,47,152,8
  656. END
  657. IDD_GETCONNECTIONPERFORMANCE DIALOG DISCARDABLE 0, 0, 304, 215
  658. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  659. CAPTION "MultinetGetConnectionPerformance test"
  660. FONT 8, "MS Shell Dlg"
  661. BEGIN
  662. CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
  663. WS_TABSTOP,7,30,59,10
  664. EDITTEXT IDC_REMOTE_TEXT,72,29,166,12,ES_AUTOHSCROLL
  665. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  666. WS_TABSTOP,7,45,59,10
  667. EDITTEXT IDC_PROVIDER_TEXT,72,44,166,12,ES_AUTOHSCROLL
  668. RTEXT "Returned Flags:",-1,7,69,95,8
  669. LTEXT "x",IDC_RETURNFLAGS,106,69,191,8
  670. RTEXT "Returned Speed:",-1,7,78,95,8
  671. LTEXT "x",IDC_RETURNSPEED,106,78,191,8
  672. RTEXT "Returned Delay:",-1,7,86,95,8
  673. LTEXT "x",IDC_RETURNDELAY,106,86,191,8
  674. RTEXT "Returned OptDataSize:",-1,7,94,95,8
  675. LTEXT "x",IDC_RETURNOPTDATASIZE,106,94,191,8
  676. RTEXT "Last error:",-1,7,137,38,8
  677. LTEXT "x",IDC_ERROR,47,137,153,37
  678. DEFPUSHBUTTON "&Do It",IDC_GO,61,183,40,14,WS_GROUP
  679. PUSHBUTTON "&Exit",IDOK,117,183,40,14
  680. RTEXT "Input buf size:",-1,30,108,72,8
  681. LTEXT "x",IDC_BUFSIZEIN,105,108,152,8
  682. RTEXT "Returned buf size:",-1,30,119,72,8
  683. LTEXT "x",IDC_BUFSIZE,105,119,152,8
  684. CONTROL "Local Name",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  685. WS_TABSTOP,7,15,59,10
  686. EDITTEXT IDC_LOCAL_TEXT,72,14,166,12,ES_AUTOHSCROLL
  687. END
  688. IDD_BROWSEDIALOG DIALOG DISCARDABLE 7, 22, 199, 135
  689. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  690. CAPTION "WNetBrowseDialog test"
  691. FONT 8, "MS Shell Dlg"
  692. BEGIN
  693. GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
  694. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
  695. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
  696. 51,10
  697. RTEXT "Name:",IDC_STATIC,0,50,38,8
  698. LTEXT "x",IDC_BROWSE_NAME,43,50,151,8
  699. RTEXT "Last error:",IDC_STATIC,0,65,38,8
  700. LTEXT "x",IDC_ERROR,40,65,153,45
  701. DEFPUSHBUTTON "&Do It",IDC_GO,51,115,40,14,WS_GROUP
  702. PUSHBUTTON "&Exit",IDOK,107,115,40,14
  703. END
  704. IDD_GETPROVIDERTYPE DIALOG DISCARDABLE 6, 18, 199, 103
  705. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  706. CAPTION "WNetGetProviderType test"
  707. FONT 8, "MS Shell Dlg"
  708. BEGIN
  709. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  710. WS_TABSTOP,8,7,59,10
  711. EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
  712. RTEXT "Provider Type:",IDC_STATIC,7,26,74,8
  713. LTEXT "x",IDC_PROVIDERTYPE,86,25,97,8
  714. RTEXT "Last error:",IDC_STATIC,5,41,38,8
  715. LTEXT "x",IDC_ERROR,45,41,153,37
  716. DEFPUSHBUTTON "&Do It",IDC_GO,48,82,40,14,WS_GROUP
  717. PUSHBUTTON "&Exit",IDOK,104,82,40,14
  718. END
  719. IDD_GETPROVIDERNAME DIALOG DISCARDABLE 6, 18, 199, 103
  720. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  721. CAPTION "WNetGetProviderName test"
  722. FONT 8, "MS Shell Dlg"
  723. BEGIN
  724. EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
  725. RTEXT "Provider Name:",IDC_STATIC,7,26,74,8
  726. LTEXT "x",IDC_PROVIDERNAME,86,25,97,8
  727. RTEXT "Last error:",IDC_STATIC,5,41,38,8
  728. LTEXT "x",IDC_ERROR,45,41,153,37
  729. DEFPUSHBUTTON "&Do It",IDC_GO,48,82,40,14,WS_GROUP
  730. PUSHBUTTON "&Exit",IDOK,104,82,40,14
  731. LTEXT "Provider Type (hex):",IDC_STATIC,3,8,66,9
  732. END
  733. IDD_GETCONNECTION3 DIALOG DISCARDABLE 0, 0, 312, 220
  734. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  735. CAPTION "WNetGetConnection3 test"
  736. FONT 8, "MS Shell Dlg"
  737. BEGIN
  738. CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
  739. WS_TABSTOP,7,32,59,10
  740. EDITTEXT IDC_PROVIDER_TEXT,72,31,166,12,ES_AUTOHSCROLL
  741. RTEXT "Info Level:",-1,7,50,59,8
  742. LTEXT "x",IDC_INFOLEVEL,75,50,91,8
  743. RTEXT "Returned Connection State:",-1,7,78,95,8
  744. LTEXT "x",IDC_RETURNFLAGS,114,78,191,8
  745. RTEXT "Last error:",-1,7,137,38,8
  746. LTEXT "x",IDC_ERROR,47,137,153,37
  747. DEFPUSHBUTTON "&Do It",IDC_GO,61,183,40,14,WS_GROUP
  748. PUSHBUTTON "&Exit",IDOK,117,183,40,14
  749. RTEXT "Input buf size:",-1,30,108,72,8
  750. LTEXT "x",IDC_BUFSIZEIN,105,108,152,8
  751. RTEXT "Returned buf size:",-1,30,119,72,8
  752. LTEXT "x",IDC_BUFSIZE,105,119,152,8
  753. CONTROL "Local Name",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
  754. WS_TABSTOP,7,15,59,10
  755. EDITTEXT IDC_LOCAL_TEXT,72,14,166,12,ES_AUTOHSCROLL
  756. END
  757. IDD_DISCONNECTDIALOG2 DIALOG DISCARDABLE 7, 22, 203, 142
  758. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  759. CAPTION "WNetDisconnectDialog test"
  760. FONT 8, "MS Shell Dlg"
  761. BEGIN
  762. GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
  763. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
  764. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
  765. 51,10
  766. DEFPUSHBUTTON "&Do It",IDC_GO,53,120,40,14,WS_GROUP
  767. PUSHBUTTON "&Exit",IDOK,109,120,40,14
  768. RTEXT "Last error:",IDC_STATIC,0,86,38,8
  769. LTEXT "x",IDC_ERROR,40,86,153,30
  770. EDITTEXT IDC_HELPFILE,71,48,113,12,ES_AUTOHSCROLL
  771. LTEXT "Help file name:",IDC_STATIC,7,49,57,10
  772. EDITTEXT IDC_HELPINDEX,71,61,113,12,ES_AUTOHSCROLL
  773. LTEXT "Help index:",IDC_STATIC,7,62,57,10
  774. END
  775. IDD_CONNECTIONDIALOG2 DIALOG DISCARDABLE 7, 22, 199, 157
  776. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  777. CAPTION "WNetConnectionDialog test"
  778. FONT 8, "MS Shell Dlg"
  779. BEGIN
  780. GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
  781. CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
  782. CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
  783. 51,10
  784. DEFPUSHBUTTON "&Do It",IDC_GO,51,136,40,14,WS_GROUP
  785. PUSHBUTTON "&Exit",IDOK,107,136,40,14
  786. RTEXT "Last error:",IDC_STATIC,1,84,38,8
  787. LTEXT "x",IDC_ERROR,40,84,153,45
  788. EDITTEXT IDC_HELPFILE,71,48,113,12,ES_AUTOHSCROLL
  789. LTEXT "Help file name:",IDC_STATIC,7,49,57,10
  790. EDITTEXT IDC_HELPINDEX,71,61,113,12,ES_AUTOHSCROLL
  791. LTEXT "Help index:",IDC_STATIC,7,62,57,10
  792. END
  793. /////////////////////////////////////////////////////////////////////////////
  794. //
  795. // DESIGNINFO
  796. //
  797. #ifdef APSTUDIO_INVOKED
  798. GUIDELINES DESIGNINFO DISCARDABLE
  799. BEGIN
  800. IDD_MAIN, DIALOG
  801. BEGIN
  802. LEFTMARGIN, 7
  803. RIGHTMARGIN, 490
  804. TOPMARGIN, 7
  805. BOTTOMMARGIN, 293
  806. END
  807. IDD_GETRESOURCEINFORMATION, DIALOG
  808. BEGIN
  809. LEFTMARGIN, 7
  810. RIGHTMARGIN, 315
  811. TOPMARGIN, 7
  812. BOTTOMMARGIN, 242
  813. END
  814. IDD_GETUNIVERSALNAME, DIALOG
  815. BEGIN
  816. LEFTMARGIN, 7
  817. RIGHTMARGIN, 321
  818. TOPMARGIN, 7
  819. BOTTOMMARGIN, 184
  820. END
  821. IDD_GETUSER, DIALOG
  822. BEGIN
  823. LEFTMARGIN, 7
  824. RIGHTMARGIN, 320
  825. TOPMARGIN, 7
  826. BOTTOMMARGIN, 116
  827. END
  828. IDD_GETCONNECTIONPERFORMANCE, DIALOG
  829. BEGIN
  830. LEFTMARGIN, 7
  831. RIGHTMARGIN, 297
  832. TOPMARGIN, 7
  833. BOTTOMMARGIN, 208
  834. END
  835. IDD_BROWSEDIALOG, DIALOG
  836. BEGIN
  837. BOTTOMMARGIN, 119
  838. END
  839. IDD_GETCONNECTION3, DIALOG
  840. BEGIN
  841. LEFTMARGIN, 7
  842. RIGHTMARGIN, 305
  843. TOPMARGIN, 7
  844. BOTTOMMARGIN, 213
  845. END
  846. END
  847. #endif // APSTUDIO_INVOKED
  848. #ifdef APSTUDIO_INVOKED
  849. /////////////////////////////////////////////////////////////////////////////
  850. //
  851. // TEXTINCLUDE
  852. //
  853. 1 TEXTINCLUDE DISCARDABLE
  854. BEGIN
  855. "resource.h\0"
  856. END
  857. 2 TEXTINCLUDE DISCARDABLE
  858. BEGIN
  859. "#ifdef APSTUDIO_INVOKED\r\n"
  860. "#include ""afxres.h""\r\n"
  861. "#else // APSTUDIO_INVOKED\r\n"
  862. "#include <windows.h>\r\n"
  863. "#include <commctrl.h>\r\n"
  864. "#define IDC_STATIC -1\r\n"
  865. "#endif // APSTUDIO_INVOKED\r\n"
  866. "\0"
  867. END
  868. 3 TEXTINCLUDE DISCARDABLE
  869. BEGIN
  870. "#include ""app.rc2""\0"
  871. END
  872. #endif // APSTUDIO_INVOKED
  873. #endif // English (U.S.) resources
  874. /////////////////////////////////////////////////////////////////////////////
  875. #ifndef APSTUDIO_INVOKED
  876. /////////////////////////////////////////////////////////////////////////////
  877. //
  878. // Generated from the TEXTINCLUDE 3 resource.
  879. //
  880. #include "app.rc2"
  881. /////////////////////////////////////////////////////////////////////////////
  882. #endif // not APSTUDIO_INVOKED