localspl: ConfigurePort is now in localui.dll.

This commit is contained in:
Detlef Riekenberg 2007-04-19 22:59:56 +02:00 committed by Alexandre Julliard
parent 3fc87ef626
commit d5b2a0c37e
8 changed files with 1 additions and 50 deletions

View File

@ -109,23 +109,6 @@ static const WCHAR WinNT_CV_WindowsW[] = {'S','o','f','t','w','a','r','e','\\',
'C','u','r','r','e','n','t','V','e','r','s','i','o','n','\\',
'W','i','n','d','o','w','s',0};
/******************************************************************
* display the Dialog "Nothing to configure"
*
*/
static void dlg_nothingtoconfig(HWND hWnd)
{
WCHAR res_PortW[IDS_LOCALPORT_MAXLEN];
WCHAR res_nothingW[IDS_NOTHINGTOCONFIG_MAXLEN];
res_PortW[0] = '\0';
res_nothingW[0] = '\0';
LoadStringW(LOCALSPL_hInstance, IDS_LOCALPORT, res_PortW, IDS_LOCALPORT_MAXLEN);
LoadStringW(LOCALSPL_hInstance, IDS_NOTHINGTOCONFIG, res_nothingW, IDS_NOTHINGTOCONFIG_MAXLEN);
MessageBoxW(hWnd, res_nothingW, res_PortW, MB_OK | MB_ICONINFORMATION);
}
/******************************************************************
* does_port_exist (internal)
@ -317,30 +300,6 @@ static DWORD get_type_from_name(LPCWSTR name)
return PORT_IS_UNKNOWN;
}
/*****************************************************
* localmon_ConfigurePortW [exported through MONITOREX]
*
* Display the Configuration-Dialog for a specific Port
*
* PARAMS
* pName [I] Servername or NULL (local Computer)
* hWnd [I] Handle to parent Window for the Dialog-Box
* pPortName [I] Name of the Port, that should be configured
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
*/
BOOL WINAPI localmon_ConfigurePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName)
{
TRACE("(%s, %p, %s)\n", debugstr_w(pName), hWnd, debugstr_w(pPortName));
/* ToDo: Dialogs by Portname ("LPTx:", "COMx:") */
dlg_nothingtoconfig(hWnd);
return ROUTER_SUCCESS;
}
/*****************************************************
* localmon_EnumPortsW [exported through MONITOREX]
*
@ -651,7 +610,7 @@ LPMONITOREX WINAPI InitializePrintMonitor(LPWSTR regroot)
NULL, /* localmon_ClosePortW */
NULL, /* localmon_AddPortW */
NULL, /* localmon_AddPortExW */
localmon_ConfigurePortW,
NULL, /* Use ConfigurePortUI in localui.dll */
NULL, /* Use DeletePortUI in localui.dll */
NULL, /* localmon_GetPrinterDataFromPort */
NULL, /* localmon_SetPortTimeOuts */

View File

@ -28,12 +28,10 @@ extern HINSTANCE LOCALSPL_hInstance;
/* ## Resource-ID ## */
#define IDS_LOCALPORT 500
#define IDS_LOCALMONITOR 507
#define IDS_NOTHINGTOCONFIG 508
/* ## Reserved memorysize for the strings (in WCHAR) ## */
#define IDS_LOCALMONITOR_MAXLEN 64
#define IDS_LOCALPORT_MAXLEN 32
#define IDS_NOTHINGTOCONFIG_MAXLEN 80
/* ## Type of Ports ## */
/* windows types */

View File

@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "Lokaler Anschluss"
IDS_LOCALMONITOR "Lokaler Monitor"
IDS_NOTHINGTOCONFIG "Dieser Anschluss hat keine Optionen zum Konfigurieren"
}

View File

@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "Local Port"
IDS_LOCALMONITOR "Local Monitor"
IDS_NOTHINGTOCONFIG "This port has no options to configure"
}

View File

@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "Port local"
IDS_LOCALMONITOR "Moniteur local"
IDS_NOTHINGTOCONFIG "Ce port n'a pas d'option à configurer"
}

View File

@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "지역 포트"
IDS_LOCALMONITOR "지역 모니터"
IDS_NOTHINGTOCONFIG "This port has no options to configure"
}

View File

@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "Lokal port"
IDS_LOCALMONITOR "Lokal overvåker"
IDS_NOTHINGTOCONFIG "Denne porten har ingen innstillinger"
}

View File

@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
{
IDS_LOCALPORT "Port lokalny"
IDS_LOCALMONITOR "Monitor lokalny"
IDS_NOTHINGTOCONFIG "Ten port nie ma opcji do skonfigurowania"
}