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

//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifdef APSTUDIO_INVOKED
#include "afxres.h"
#else // APSTUDIO_INVOKED
#include <windows.h>
#include <commctrl.h>
#define IDC_STATIC -1
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_GENERIC ICON DISCARDABLE "txtfile.ico"
IDI_DOMAIN ICON DISCARDABLE "group.ico"
IDI_SERVER ICON DISCARDABLE "server.ico"
IDI_SHARE ICON DISCARDABLE "share.ico"
IDI_FILE ICON DISCARDABLE "txtfile.ico"
IDI_GROUP ICON DISCARDABLE "group.ico"
IDI_NETWORK ICON DISCARDABLE "network.ico"
IDI_ROOT ICON DISCARDABLE "world.ico"
IDI_SHAREADMIN ICON DISCARDABLE "sharea.ico"
IDI_DIRECTORY ICON DISCARDABLE "folder.ico"
IDI_TREE ICON DISCARDABLE "tree.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_MAIN DIALOGEX 0, 0, 497, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNet enumeration"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,440,7,50,14
CONTROL "Tree1",IDC_TREE,"SysTreeView32",TVS_HASBUTTONS |
TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
WS_BORDER | WS_TABSTOP,7,7,425,286,WS_EX_CLIENTEDGE
END
IDD_START DIALOG DISCARDABLE 6, 18, 200, 248
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Start of enumeration"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Scope",IDC_STATIC,5,7,85,85,WS_GROUP
CONTROL "CONNECTED",IDC_RESOURCE_CONNECTED,"Button",
BS_AUTORADIOBUTTON,10,18,72,10
CONTROL "GLOBALNET",IDC_RESOURCE_GLOBALNET,"Button",
BS_AUTORADIOBUTTON,10,30,72,10
CONTROL "REMEMBERED",IDC_RESOURCE_REMEMBERED,"Button",
BS_AUTORADIOBUTTON,10,42,72,10
CONTROL "RECENT",IDC_RESOURCE_RECENT,"Button",BS_AUTORADIOBUTTON,
10,54,72,10
CONTROL "CONTEXT",IDC_RESOURCE_CONTEXT,"Button",
BS_AUTORADIOBUTTON,10,66,72,10
CONTROL "SHAREABLE",IDC_RESOURCE_SHAREABLE,"Button",
BS_AUTORADIOBUTTON,10,78,72,10
GROUPBOX "Usage",IDC_STATIC,6,96,86,40,WS_GROUP
CONTROL "CONNECTABLE",IDC_RESOURCEUSAGE_CONNECTABLE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,11,108,74,10
CONTROL "CONTAINER",IDC_RESOURCEUSAGE_CONTAINER,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,11,120,74,10
GROUPBOX "Resource type",IDC_STATIC,96,7,59,60,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,100,20,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,100,31,
51,10
CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,100,42,51,10
CONTROL "Reserved",IDC_RESERVED,"Button",BS_AUTORADIOBUTTON,100,
52,51,10
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,9,187,59,10
EDITTEXT IDC_REMOTE_TEXT,73,185,113,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,9,201,59,10
EDITTEXT IDC_PROVIDER_TEXT,73,200,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&OK",IDOK,29,220,129,14
EDITTEXT IDC_BUFFER_SIZE,73,170,113,12,ES_AUTOHSCROLL
LTEXT "Buffer size (bytes):",IDC_STATIC,9,172,58,8
CONTROL "Use WNetFormatNetworkName to display items",
IDC_USE_WNETFORMATNETWORKNAME,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,9,156,177,10
END
IDD_ROOT DIALOGEX 6, 18, 244, 359
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNet tests"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Dialogs",-1,6,2,113,117
PUSHBUTTON "WNetConnectionDialog",IDC_CONNECTIONDIALOG,13,12,98,14
PUSHBUTTON "WNetConnectionDialog1",IDC_CONNECTIONDIALOG1,13,26,98,
14
PUSHBUTTON "WNetDisconnectDialog",IDC_DISCONNECTDIALOG,13,56,98,14
PUSHBUTTON "WNetDisconnectDialog1",IDC_DISCONNECTDIALOG1,13,70,98,
14
GROUPBOX "Miscellaneous",-1,5,142,233,109
PUSHBUTTON "WNetGetConnection",IDC_GETCONNECTION,130,156,98,14
PUSHBUTTON "WNetGetConnection2 (NT)",IDC_GETCONNECTION2,130,170,98,
14
PUSHBUTTON "WNetFormatNetworkName",IDC_FORMATNETWORKNAME,12,155,98,
14
PUSHBUTTON "WNetGetNetworkInformation",IDC_GETNETWORKINFORMATION,12,
171,98,14
PUSHBUTTON "WNetGetResourceInformation",IDC_GETRESOURCEINFORMATION,
12,217,98,14
PUSHBUTTON "WNetGetResourceParent",IDC_GETRESOURCEPARENT,12,233,98,
14
GROUPBOX "Adding Connections",-1,125,1,113,74
PUSHBUTTON "WNetAddConnection",IDC_ADDCONNECTION,133,12,98,14
PUSHBUTTON "WNetAddConnection2",IDC_ADDCONNECTION2,133,26,98,14
PUSHBUTTON "WNetAddConnection3",IDC_ADDCONNECTION3,133,40,98,14
PUSHBUTTON "WNetUseConnection",IDC_USECONNECTION,133,54,98,14
GROUPBOX "Removing Connections",-1,125,79,113,50
PUSHBUTTON "WNetCancelConnection",IDC_CANCELCONNECTION,133,94,98,14
PUSHBUTTON "WNetCancelConnection2",IDC_CANCELCONNECTION2,133,108,98,
14
PUSHBUTTON "Do Enumeration",IDC_ENUMERATE,14,124,98,14
DEFPUSHBUTTON "&Exit",IDOK,95,340,47,14
PUSHBUTTON "WNetGetUniversalName",IDC_GETUNIVERSALNAME,130,217,98,
14
PUSHBUTTON "WNetGetUser",IDC_GETUSER,130,232,98,14
PUSHBUTTON "MultinetGetConnectionPerformance",
IDC_GETCONNECTIONPERFORMANCE,130,199,98,14,BS_LEFT
PUSHBUTTON "WNetBrowseDialog (private)",IDC_BROWSEDIALOG,13,100,98,
14
PUSHBUTTON "WNetGetProviderType (NT)",IDC_GETPROVIDERTYPE,12,185,98,
14
PUSHBUTTON "WNetGetProviderName",IDC_GETPROVIDERNAME,12,200,98,14
PUSHBUTTON "WNetGetConnection3 (NT)",IDC_GETCONNECTION3,130,185,98,
14
PUSHBUTTON "WNetConnectionDialog2 (NT)",IDC_CONNECTIONDIALOG2,13,40,
98,14
PUSHBUTTON "WNetDisconnectDialog2 (NT)",IDC_DISCONNECTDIALOG2,13,84,
98,14
EDITTEXT IDC_MESSAGES,6,256,233,79,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL,
WS_EX_CLIENTEDGE
END
IDD_DISCONNECTDIALOG1 DIALOG DISCARDABLE 6, 18, 200, 165
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetDisconnectDialog1 test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",113,4,18,112,36
CONTROL "DISC_UPDATE_PROFILE",IDC_UPDATE_PROFILE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,9,30,103,10
CONTROL "DISC_NO_FORCE",IDC_NO_FORCE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,9,40,103,10
DEFPUSHBUTTON "&Do It",IDC_GO,47,132,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,103,132,40,14
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,60,59,10
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,74,59,10
EDITTEXT IDC_LOCAL_TEXT,70,59,113,12,ES_AUTOHSCROLL
EDITTEXT IDC_REMOTE_TEXT,70,73,113,12,ES_AUTOHSCROLL
RTEXT "Last error:",-1,3,91,38,8
LTEXT "x",IDC_ERROR,43,91,153,30
CONTROL "Pass in a NULL pointer as the parameter?",IDC_NULL,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,4,176,10
END
IDD_CONNECTIONDIALOG DIALOG DISCARDABLE 7, 22, 199, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetConnectionDialog test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
51,10
DEFPUSHBUTTON "&Do It",IDC_GO,51,99,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,107,99,40,14
RTEXT "Last error:",-1,0,49,38,8
LTEXT "x",IDC_ERROR,40,49,153,45
END
IDD_DISCONNECTDIALOG DIALOG DISCARDABLE 7, 22, 203, 104
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetDisconnectDialog test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
51,10
DEFPUSHBUTTON "&Do It",IDC_GO,53,84,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,109,84,40,14
RTEXT "Last error:",-1,0,50,38,8
LTEXT "x",IDC_ERROR,40,50,153,30
END
IDD_GETCONNECTION DIALOG DISCARDABLE 6, 18, 205, 164
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetConnection test"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Local name:",-1,4,8,62,8
EDITTEXT IDC_LOCAL_TEXT,71,6,129,12,ES_AUTOHSCROLL
RTEXT "Input buf size:",-1,11,22,72,8
LTEXT "x",IDC_BUFSIZEIN,85,22,96,8
RTEXT "Returned buf size:",-1,10,31,72,8
LTEXT "x",IDC_BUFSIZE,84,31,96,8
RTEXT "Returned name:",-1,11,41,72,8
LTEXT "x",IDC_REMOTE,85,41,116,50
RTEXT "Last error:",-1,4,95,38,8
LTEXT "x",IDC_ERROR,44,95,153,45
DEFPUSHBUTTON "&Do It",IDC_GO,47,144,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,103,144,40,14
END
IDD_CANCELCONNECTION2 DIALOG DISCARDABLE 6, 18, 201, 137
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetCancelConnection2 test"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Last error:",-1,5,65,38,8
LTEXT "x",IDC_ERROR,45,65,153,48
DEFPUSHBUTTON "&Do It",IDC_GO,52,117,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,108,117,40,14
EDITTEXT IDC_LOCAL_TEXT,71,6,113,12,ES_AUTOHSCROLL
RTEXT "Name:",-1,4,8,62,8
GROUPBOX "Force?",-1,5,24,59,36,WS_GROUP
CONTROL "Yes",IDC_FORCE,"Button",BS_AUTORADIOBUTTON,10,36,30,10
CONTROL "No",IDC_NOFORCE,"Button",BS_AUTORADIOBUTTON,10,46,30,10
GROUPBOX "Flags",-1,71,25,126,36
CONTROL "CONNECT_UPDATE_PROFILE",IDC_UPDATE_PROFILE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,76,37,119,10
CONTROL "CONNECT_REFCOUNT",IDC_REFCOUNT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,76,47,118,10
END
IDD_CONNECTIONDIALOG1 DIALOG DISCARDABLE 6, 18, 199, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetConnectionDialog1 test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",113,0,28,114,79
CONTROL "CONNDLG_RO_PATH",IDC_RO_PATH,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,42,103,10
CONTROL "CONNDLG_USE_MRU",IDC_USE_MRU,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,52,103,10
CONTROL "CONNDLG_HIDE_BOX",IDC_HIDE_BOX,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,62,103,10
CONTROL "CONNDLG_PERSIST",IDC_PERSIST,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,72,103,10
CONTROL "CONNDLG_NOT_PERSIST",IDC_NOT_PERSIST,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,82,103,10
CONTROL "CONNDLG_CONN_POINT",IDC_CONN_POINT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,92,103,10
GROUPBOX "Remote Path?",IDC_BUFSIZEIN,119,30,59,36,WS_GROUP
CONTROL "Yes",IDC_YESPATH,"Button",BS_AUTORADIOBUTTON,124,42,30,
10
CONTROL "No",IDC_NOPATH,"Button",BS_AUTORADIOBUTTON,124,52,30,10
GROUPBOX "Resource type",109,119,68,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,123,81,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,123,91,
51,10
RTEXT "Last device number:",116,2,111,72,8
LTEXT "x",IDC_DEVICE,76,111,96,8
DEFPUSHBUTTON "&Do It",IDC_GO,42,161,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,98,161,40,14
RTEXT "Last error:",IDC_STATIC,3,120,38,8
LTEXT "x",IDC_ERROR,44,121,153,37
CONTROL "Pass in a NULL pointer as the parameter?",IDC_NULL,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,4,176,10
EDITTEXT IDC_REMOTE_TEXT,70,15,113,12,ES_AUTOHSCROLL
LTEXT "Remote name:",IDC_STATIC,6,16,57,10
END
IDD_ADDCONNECTION3 DIALOG DISCARDABLE 6, 18, 199, 233
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetAddConnection3 test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",-1,5,7,126,65
CONTROL "CONNECT_TEMPORARY",IDC_CONNECT_TEMPORARY,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,18,103,10
CONTROL "CONNECT_INTERACTIVE",IDC_CONNECT_INTERACTIVE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,28,103,10
CONTROL "CONNECT_PROMPT",IDC_CONNECT_PROMPT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,38,103,10
CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,48,118,10
CONTROL "CONNECT_UPDATE_RECENT",IDC_CONNECT_UPDATE_RECENT,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,58,118,10
GROUPBOX "HWND",-1,135,7,59,36,WS_GROUP
CONTROL "Valid",IDC_HWND_VALID,"Button",BS_AUTORADIOBUTTON,140,
19,30,10
CONTROL "NULL",IDC_HWND_NO,"Button",BS_AUTORADIOBUTTON,140,29,49,
10
GROUPBOX "Resource type",-1,135,45,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,139,58,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,139,68,
51,10
RTEXT "Last error:",-1,4,173,38,8
LTEXT "x",IDC_ERROR,44,173,153,37
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,91,59,10
EDITTEXT IDC_LOCAL_TEXT,70,90,113,12,ES_AUTOHSCROLL
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,105,59,10
EDITTEXT IDC_REMOTE_TEXT,70,104,113,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,120,59,10
EDITTEXT IDC_PROVIDER_TEXT,70,119,113,12,ES_AUTOHSCROLL
CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,135,59,10
EDITTEXT IDC_PASSWORD_TEXT,70,134,113,12,ES_AUTOHSCROLL
CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,149,59,10
EDITTEXT IDC_USER_TEXT,70,148,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,43,215,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,99,215,40,14
END
IDD_USECONNECTION DIALOG DISCARDABLE 6, 18, 199, 316
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetUseConnection test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",-1,5,7,126,86
CONTROL "CONNECT_TEMPORARY",IDC_CONNECT_TEMPORARY,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,18,118,10
CONTROL "CONNECT_INTERACTIVE",IDC_CONNECT_INTERACTIVE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,28,118,10
CONTROL "CONNECT_PROMPT",IDC_CONNECT_PROMPT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,38,118,10
CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,48,118,10
CONTROL "CONNECT_UPDATE_RECENT",IDC_CONNECT_UPDATE_RECENT,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,58,118,10
CONTROL "CONNECT_REDIRECT",IDC_CONNECT_REDIRECT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,68,118,10
CONTROL "CONNECT_CURRENT_MEDIA",IDC_CONNECT_CURRENT_MEDIA,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,78,118,10
GROUPBOX "HWND",-1,135,7,59,33,WS_GROUP
CONTROL "Valid",IDC_HWND_VALID,"Button",BS_AUTORADIOBUTTON,139,
17,49,10
CONTROL "NULL",IDC_HWND_NO,"Button",BS_AUTORADIOBUTTON,139,27,49,
10
GROUPBOX "Resource type",-1,134,41,59,33,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,138,51,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,138,61,
51,10
GROUPBOX "Access Name Buffer?",-1,6,94,124,33,WS_GROUP
CONTROL "Yes",IDC_ACCESS_YES,"Button",BS_AUTORADIOBUTTON,10,104,
50,10
CONTROL "No",IDC_ACCESS_NO,"Button",BS_AUTORADIOBUTTON,10,114,51,
10
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP,5,131,59,10
EDITTEXT IDC_LOCAL_TEXT,69,130,113,12,ES_AUTOHSCROLL
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,5,145,59,10
EDITTEXT IDC_REMOTE_TEXT,69,144,113,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,5,160,59,10
EDITTEXT IDC_PROVIDER_TEXT,69,159,113,12,ES_AUTOHSCROLL
CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,5,175,59,10
EDITTEXT IDC_PASSWORD_TEXT,69,174,113,12,ES_AUTOHSCROLL
CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,5,189,59,10
EDITTEXT IDC_USER_TEXT,69,188,113,12,ES_AUTOHSCROLL
RTEXT "Buffer size:",-1,3,209,59,8
LTEXT "x",IDC_BUFSIZE,66,210,131,8
RTEXT "Access Name:",-1,3,218,60,8
LTEXT "x",IDC_ACCESSNAME,66,218,131,8
RTEXT "Result:",-1,3,226,60,8
LTEXT "x",IDC_RESULT,66,226,131,34
RTEXT "Last error:",-1,3,261,38,8
LTEXT "x",IDC_ERROR,44,260,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,47,299,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,103,299,40,14
END
IDD_ADDCONNECTION DIALOG DISCARDABLE 6, 18, 199, 115
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetAddConnection test"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Last error:",-1,3,50,38,8
LTEXT "x",IDC_ERROR,43,50,153,37
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,5,59,10
EDITTEXT IDC_LOCAL_TEXT,70,4,113,12,ES_AUTOHSCROLL
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,19,59,10
EDITTEXT IDC_REMOTE_TEXT,70,18,113,12,ES_AUTOHSCROLL
CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,6,33,59,10
EDITTEXT IDC_PASSWORD_TEXT,70,32,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,47,94,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,103,94,40,14
END
IDD_ADDCONNECTION2 DIALOG DISCARDABLE 6, 18, 199, 189
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetAddConnection2 test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",-1,5,7,126,28
CONTROL "CONNECT_UPDATE_PROFILE",IDC_CONNECT_UPDATE_PROFILE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,19,118,10
GROUPBOX "Resource type",-1,136,7,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,140,20,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,140,30,
51,10
RTEXT "Last error:",-1,4,129,38,8
LTEXT "x",IDC_ERROR,44,129,153,37
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,56,59,10
EDITTEXT IDC_LOCAL_TEXT,72,55,113,12,ES_AUTOHSCROLL
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,70,59,10
EDITTEXT IDC_REMOTE_TEXT,72,69,113,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,85,59,10
EDITTEXT IDC_PROVIDER_TEXT,72,84,113,12,ES_AUTOHSCROLL
CONTROL "Password:",IDC_PASSWORD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,100,59,10
EDITTEXT IDC_PASSWORD_TEXT,72,99,113,12,ES_AUTOHSCROLL
CONTROL "User ID:",IDC_USER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,114,59,10
EDITTEXT IDC_USER_TEXT,72,113,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,47,170,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,103,170,40,14
END
IDD_CANCELCONNECTION DIALOG DISCARDABLE 6, 18, 201, 137
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetCancelConnection test"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Last error:",-1,5,65,38,8
LTEXT "x",IDC_ERROR,45,65,153,48
DEFPUSHBUTTON "&Do It",IDC_GO,52,117,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,108,117,40,14
EDITTEXT IDC_LOCAL_TEXT,71,6,113,12,ES_AUTOHSCROLL
RTEXT "Name:",-1,4,8,62,8
GROUPBOX "Force?",-1,5,24,59,36,WS_GROUP
CONTROL "Yes",IDC_FORCE,"Button",BS_AUTORADIOBUTTON,10,36,30,10
CONTROL "No",IDC_NOFORCE,"Button",BS_AUTORADIOBUTTON,10,46,30,10
END
IDD_FORMATNETWORKNAME DIALOG DISCARDABLE 6, 18, 199, 197
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetFormatNetworkName test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Flags",-1,5,7,126,54
CONTROL "WNFMT_MULTILINE",IDC_MULTILINE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,10,18,103,10
CONTROL "WNFMT_ABBREVIATED",IDC_ABBREVIATED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,10,28,103,10
CONTROL "WNFMT_INENUM",IDC_INENUM,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,10,39,103,10
RTEXT "Last error:",-1,4,134,38,8
LTEXT "x",IDC_ERROR,44,134,153,37
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,4,74,59,10
EDITTEXT IDC_REMOTE_TEXT,68,73,113,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,4,89,59,10
EDITTEXT IDC_PROVIDER_TEXT,68,88,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,43,180,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,99,180,40,14
RTEXT "Return:",-1,1,105,38,8
LTEXT "x",IDC_RETURN,41,105,153,26
END
IDD_GETNETWORKINFORMATION DIALOG DISCARDABLE 6, 18, 199, 157
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetNetworkInformation test"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,7,59,10
EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
RTEXT "Provider Version:",-1,7,33,74,8
LTEXT "x",IDC_PROVIDERVERSION,86,33,97,8
RTEXT "Status:",-1,7,41,74,8
LTEXT "x",IDC_STATUS,86,41,97,8
RTEXT "Characteristics:",-1,7,49,74,8
LTEXT "x",IDC_CHARACTERISTICS,86,49,97,8
RTEXT "Handle:",-1,7,57,74,8
LTEXT "x",IDC_HANDLE,86,57,97,8
RTEXT "Net Type:",-1,7,65,74,8
LTEXT "x",IDC_NETTYPE,86,65,97,8
RTEXT "Printers:",-1,7,73,74,8
LTEXT "x",IDC_PRINTERS,86,73,97,8
RTEXT "Drives:",-1,7,81,74,8
LTEXT "x",IDC_DRIVES,86,81,97,8
RTEXT "Last error:",-1,5,95,38,8
LTEXT "x",IDC_ERROR,45,95,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,48,136,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,104,136,40,14
END
IDD_GETCONNECTION2 DIALOG DISCARDABLE 6, 18, 306, 221
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetConnection2 test"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Local name:",IDC_STATIC,4,28,62,8
EDITTEXT IDC_LOCAL_TEXT,71,26,129,12,ES_AUTOHSCROLL
RTEXT "Input buf size:",IDC_STATIC,9,46,72,8
LTEXT "x",IDC_BUFSIZEIN,84,47,152,8
RTEXT "Returned buf size:",IDC_STATIC,9,56,72,8
LTEXT "x",IDC_BUFSIZE,84,57,152,8
RTEXT "Returned remote name:",IDC_STATIC,4,70,81,8
LTEXT "x",IDC_REMOTE,89,72,212,36
RTEXT "Returned provider name:",IDC_STATIC,5,110,81,8
LTEXT "x",IDC_PROVIDER,89,110,214,36
RTEXT "Last error:",IDC_STATIC,8,151,38,8
LTEXT "x",IDC_ERROR,48,151,153,45
DEFPUSHBUTTON "&Do It",IDC_GO,62,199,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,118,199,40,14
LTEXT "NOTE: This is an NT-only API!",IDC_STATIC,3,3,297,14
END
IDD_GETRESOURCEINFORMATION DIALOG DISCARDABLE 0, 0, 322, 249
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetResourceInformation"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",IDC_STATIC,7,7,59,46,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,11,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,11,28,
51,10
CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,11,39,50,10
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,84,15,59,10
EDITTEXT IDC_REMOTE_TEXT,149,14,166,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,84,30,59,10
EDITTEXT IDC_PROVIDER_TEXT,149,30,166,12,ES_AUTOHSCROLL
RTEXT "Returned Remote Name:",IDC_STATIC,7,60,95,8
LTEXT "x",IDC_RETURNREMOTE,108,60,191,8
RTEXT "Returned Provider:",IDC_STATIC,7,69,95,8
LTEXT "x",IDC_RETURNPROVIDER,108,69,191,8
RTEXT "Returned Scope:",IDC_STATIC,7,120,95,8
LTEXT "x",IDC_RETURNSCOPE,108,120,191,8
RTEXT "Returned Type:",IDC_STATIC,7,77,95,8
LTEXT "x",IDC_RETURNTYPE,108,77,191,8
RTEXT "Returned System Part:",IDC_STATIC,7,102,95,8
LTEXT "x",IDC_RETURNSYSTEM,108,102,191,8
RTEXT "Last error:",IDC_STATIC,7,178,38,8
LTEXT "x",IDC_ERROR,47,178,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,62,221,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,118,221,40,14
RTEXT "Returned Usage:",IDC_STATIC,7,94,95,8
LTEXT "x",IDC_RETURNUSAGE,108,94,191,8
RTEXT "Input buf size:",IDC_STATIC,30,153,72,8
RTEXT "Returned buf size:",IDC_STATIC,30,165,72,8
LTEXT "x",IDC_BUFSIZE,105,165,152,8
LTEXT "Docs say these will be NULL:",IDC_STATIC,11,111,96,9
RTEXT "Returned Display Type:",IDC_STATIC,7,85,95,8
LTEXT "x",IDC_RETURNDISPLAYTYPE,108,85,191,8
RTEXT "Returned Local Name:",IDC_STATIC,7,129,95,8
LTEXT "x",IDC_RETURNLOCALNAME,108,129,191,8
RTEXT "Returned Comment:",IDC_STATIC,7,138,95,8
LTEXT "x",IDC_RETURNCOMMENT,108,138,191,8
EDITTEXT IDC_BUFSIZEIN,105,153,58,12,ES_AUTOHSCROLL
END
IDD_GETRESOURCEPARENT DIALOG DISCARDABLE 0, 0, 304, 246
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetResourceParent"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",IDC_STATIC,7,7,59,46,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,11,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,11,28,
51,10
CONTROL "Any",IDC_ANY,"Button",BS_AUTORADIOBUTTON,11,39,50,10
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,71,12,59,10
EDITTEXT IDC_REMOTE_TEXT,136,11,166,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,71,27,59,10
EDITTEXT IDC_PROVIDER_TEXT,136,26,166,12,ES_AUTOHSCROLL
RTEXT "Returned Remote Name:",IDC_STATIC,7,58,95,8
LTEXT "x",IDC_RETURNREMOTE,106,58,191,8
RTEXT "Returned Provider:",IDC_STATIC,7,67,95,8
LTEXT "x",IDC_RETURNPROVIDER,106,67,191,8
RTEXT "Returned Type:",IDC_STATIC,7,75,95,8
LTEXT "x",IDC_RETURNTYPE,106,75,191,8
RTEXT "Last error:",IDC_STATIC,9,178,38,8
LTEXT "x",IDC_ERROR,49,178,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,65,222,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,121,222,40,14
RTEXT "Returned Usage:",IDC_STATIC,7,84,95,8
LTEXT "x",IDC_RETURNUSAGE,106,84,191,8
RTEXT "Input buf size:",IDC_STATIC,32,150,72,8
LTEXT "x",IDC_BUFSIZEIN,106,150,152,8
RTEXT "Returned buf size:",IDC_STATIC,32,160,72,8
LTEXT "x",IDC_BUFSIZE,106,160,152,8
RTEXT "Returned Scope:",IDC_STATIC,7,115,95,8
LTEXT "x",IDC_RETURNSCOPE,106,115,191,8
RTEXT "Returned Display Type:",IDC_STATIC,7,93,95,8
LTEXT "x",IDC_RETURNDISPLAYTYPE,106,93,191,8
LTEXT "Docs say these will be NULL:",IDC_STATIC,13,105,96,9
RTEXT "Returned Local Name:",IDC_STATIC,7,125,95,8
LTEXT "x",IDC_RETURNLOCALNAME,106,125,191,8
RTEXT "Returned Comment:",IDC_STATIC,7,134,95,8
LTEXT "x",IDC_RETURNCOMMENT,106,134,191,8
END
IDD_GETUNIVERSALNAME DIALOG DISCARDABLE 0, 0, 328, 191
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetUniversalName"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Info level",IDC_STATIC,7,7,90,39,WS_GROUP
CONTROL "Universal",IDC_UNIVERSALLEVEL,"Button",
BS_AUTORADIOBUTTON,11,20,50,10
CONTROL "Remote",IDC_REMOTELEVEL,"Button",BS_AUTORADIOBUTTON,11,
30,51,10
RTEXT "Last error:",IDC_STATIC,7,129,38,8
LTEXT "x",IDC_ERROR,51,129,153,37
CONTROL "Local name:",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,11,56,59,10
EDITTEXT IDC_LOCAL_TEXT,75,55,113,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,51,170,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,107,170,40,14
RTEXT "Returned Universal Name:",IDC_STATIC,7,71,95,8
LTEXT "x",IDC_RETURNUNIVERSAL,106,71,191,8
RTEXT "Returned Connection Name:",IDC_STATIC,7,80,95,8
LTEXT "x",IDC_RETURNCONNECTION,106,79,191,8
RTEXT "Returned Remaining Path:",IDC_STATIC,7,88,95,8
LTEXT "x",IDC_RETURNREMAINING,106,87,191,8
RTEXT "Input buf size:",IDC_STATIC,30,101,72,8
LTEXT "x",IDC_BUFSIZEIN,105,102,152,8
RTEXT "Returned buf size:",IDC_STATIC,30,112,72,8
LTEXT "x",IDC_BUFSIZE,105,113,152,8
END
IDD_GETUSER DIALOG DISCARDABLE 0, 0, 327, 124
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetUser"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "Last error:",IDC_STATIC,7,60,38,8
LTEXT "x",IDC_ERROR,51,60,153,37
CONTROL "Name:",IDC_NAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
11,9,33,10
EDITTEXT IDC_NAME_TEXT,52,8,136,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Do It",IDC_GO,51,101,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,107,101,40,14
RTEXT "Returned User Name:",IDC_STATIC,7,24,95,8
LTEXT "x",IDC_RETURNUSER,106,24,191,8
RTEXT "Input buf size:",IDC_STATIC,31,35,72,8
LTEXT "x",IDC_BUFSIZEIN,107,36,152,8
RTEXT "Returned buf size:",IDC_STATIC,31,46,72,8
LTEXT "x",IDC_BUFSIZE,107,47,152,8
END
IDD_GETCONNECTIONPERFORMANCE DIALOG DISCARDABLE 0, 0, 304, 215
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "MultinetGetConnectionPerformance test"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Remote name:",IDC_REMOTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,30,59,10
EDITTEXT IDC_REMOTE_TEXT,72,29,166,12,ES_AUTOHSCROLL
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,45,59,10
EDITTEXT IDC_PROVIDER_TEXT,72,44,166,12,ES_AUTOHSCROLL
RTEXT "Returned Flags:",-1,7,69,95,8
LTEXT "x",IDC_RETURNFLAGS,106,69,191,8
RTEXT "Returned Speed:",-1,7,78,95,8
LTEXT "x",IDC_RETURNSPEED,106,78,191,8
RTEXT "Returned Delay:",-1,7,86,95,8
LTEXT "x",IDC_RETURNDELAY,106,86,191,8
RTEXT "Returned OptDataSize:",-1,7,94,95,8
LTEXT "x",IDC_RETURNOPTDATASIZE,106,94,191,8
RTEXT "Last error:",-1,7,137,38,8
LTEXT "x",IDC_ERROR,47,137,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,61,183,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,117,183,40,14
RTEXT "Input buf size:",-1,30,108,72,8
LTEXT "x",IDC_BUFSIZEIN,105,108,152,8
RTEXT "Returned buf size:",-1,30,119,72,8
LTEXT "x",IDC_BUFSIZE,105,119,152,8
CONTROL "Local Name",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,15,59,10
EDITTEXT IDC_LOCAL_TEXT,72,14,166,12,ES_AUTOHSCROLL
END
IDD_BROWSEDIALOG DIALOG DISCARDABLE 7, 22, 199, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetBrowseDialog test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
51,10
RTEXT "Name:",IDC_STATIC,0,50,38,8
LTEXT "x",IDC_BROWSE_NAME,43,50,151,8
RTEXT "Last error:",IDC_STATIC,0,65,38,8
LTEXT "x",IDC_ERROR,40,65,153,45
DEFPUSHBUTTON "&Do It",IDC_GO,51,115,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,107,115,40,14
END
IDD_GETPROVIDERTYPE DIALOG DISCARDABLE 6, 18, 199, 103
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetProviderType test"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,8,7,59,10
EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
RTEXT "Provider Type:",IDC_STATIC,7,26,74,8
LTEXT "x",IDC_PROVIDERTYPE,86,25,97,8
RTEXT "Last error:",IDC_STATIC,5,41,38,8
LTEXT "x",IDC_ERROR,45,41,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,48,82,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,104,82,40,14
END
IDD_GETPROVIDERNAME DIALOG DISCARDABLE 6, 18, 199, 103
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetProviderName test"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_PROVIDER_TEXT,72,6,113,12,ES_AUTOHSCROLL
RTEXT "Provider Name:",IDC_STATIC,7,26,74,8
LTEXT "x",IDC_PROVIDERNAME,86,25,97,8
RTEXT "Last error:",IDC_STATIC,5,41,38,8
LTEXT "x",IDC_ERROR,45,41,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,48,82,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,104,82,40,14
LTEXT "Provider Type (hex):",IDC_STATIC,3,8,66,9
END
IDD_GETCONNECTION3 DIALOG DISCARDABLE 0, 0, 312, 220
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "WNetGetConnection3 test"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Provider:",IDC_PROVIDER,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,32,59,10
EDITTEXT IDC_PROVIDER_TEXT,72,31,166,12,ES_AUTOHSCROLL
RTEXT "Info Level:",-1,7,50,59,8
LTEXT "x",IDC_INFOLEVEL,75,50,91,8
RTEXT "Returned Connection State:",-1,7,78,95,8
LTEXT "x",IDC_RETURNFLAGS,114,78,191,8
RTEXT "Last error:",-1,7,137,38,8
LTEXT "x",IDC_ERROR,47,137,153,37
DEFPUSHBUTTON "&Do It",IDC_GO,61,183,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,117,183,40,14
RTEXT "Input buf size:",-1,30,108,72,8
LTEXT "x",IDC_BUFSIZEIN,105,108,152,8
RTEXT "Returned buf size:",-1,30,119,72,8
LTEXT "x",IDC_BUFSIZE,105,119,152,8
CONTROL "Local Name",IDC_LOCAL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,15,59,10
EDITTEXT IDC_LOCAL_TEXT,72,14,166,12,ES_AUTOHSCROLL
END
IDD_DISCONNECTDIALOG2 DIALOG DISCARDABLE 7, 22, 203, 142
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetDisconnectDialog test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
51,10
DEFPUSHBUTTON "&Do It",IDC_GO,53,120,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,109,120,40,14
RTEXT "Last error:",IDC_STATIC,0,86,38,8
LTEXT "x",IDC_ERROR,40,86,153,30
EDITTEXT IDC_HELPFILE,71,48,113,12,ES_AUTOHSCROLL
LTEXT "Help file name:",IDC_STATIC,7,49,57,10
EDITTEXT IDC_HELPINDEX,71,61,113,12,ES_AUTOHSCROLL
LTEXT "Help index:",IDC_STATIC,7,62,57,10
END
IDD_CONNECTIONDIALOG2 DIALOG DISCARDABLE 7, 22, 199, 157
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "WNetConnectionDialog test"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Resource type",109,6,4,59,39,WS_GROUP
CONTROL "Disk",IDC_DISK,"Button",BS_AUTORADIOBUTTON,10,17,50,10
CONTROL "Printer",IDC_PRINTER,"Button",BS_AUTORADIOBUTTON,10,27,
51,10
DEFPUSHBUTTON "&Do It",IDC_GO,51,136,40,14,WS_GROUP
PUSHBUTTON "&Exit",IDOK,107,136,40,14
RTEXT "Last error:",IDC_STATIC,1,84,38,8
LTEXT "x",IDC_ERROR,40,84,153,45
EDITTEXT IDC_HELPFILE,71,48,113,12,ES_AUTOHSCROLL
LTEXT "Help file name:",IDC_STATIC,7,49,57,10
EDITTEXT IDC_HELPINDEX,71,61,113,12,ES_AUTOHSCROLL
LTEXT "Help index:",IDC_STATIC,7,62,57,10
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_MAIN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 490
TOPMARGIN, 7
BOTTOMMARGIN, 293
END
IDD_GETRESOURCEINFORMATION, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 315
TOPMARGIN, 7
BOTTOMMARGIN, 242
END
IDD_GETUNIVERSALNAME, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 321
TOPMARGIN, 7
BOTTOMMARGIN, 184
END
IDD_GETUSER, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 320
TOPMARGIN, 7
BOTTOMMARGIN, 116
END
IDD_GETCONNECTIONPERFORMANCE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 297
TOPMARGIN, 7
BOTTOMMARGIN, 208
END
IDD_BROWSEDIALOG, DIALOG
BEGIN
BOTTOMMARGIN, 119
END
IDD_GETCONNECTION3, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 305
TOPMARGIN, 7
BOTTOMMARGIN, 213
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#ifdef APSTUDIO_INVOKED\r\n"
"#include ""afxres.h""\r\n"
"#else // APSTUDIO_INVOKED\r\n"
"#include <windows.h>\r\n"
"#include <commctrl.h>\r\n"
"#define IDC_STATIC -1\r\n"
"#endif // APSTUDIO_INVOKED\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""app.rc2""\0"
END
#endif // APSTUDIO_INVOKED
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "app.rc2"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED