Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d5b2a0c3
Commit
d5b2a0c3
authored
Apr 19, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: ConfigurePort is now in localui.dll.
parent
3fc87ef6
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1 addition
and
50 deletions
+1
-50
localmon.c
dlls/localspl/localmon.c
+1
-42
localspl_private.h
dlls/localspl/localspl_private.h
+0
-2
spl_De.rc
dlls/localspl/spl_De.rc
+0
-1
spl_En.rc
dlls/localspl/spl_En.rc
+0
-1
spl_Fr.rc
dlls/localspl/spl_Fr.rc
+0
-1
spl_Ko.rc
dlls/localspl/spl_Ko.rc
+0
-1
spl_No.rc
dlls/localspl/spl_No.rc
+0
-1
spl_Pl.rc
dlls/localspl/spl_Pl.rc
+0
-1
No files found.
dlls/localspl/localmon.c
View file @
d5b2a0c3
...
@@ -109,23 +109,6 @@ static const WCHAR WinNT_CV_WindowsW[] = {'S','o','f','t','w','a','r','e','\\',
...
@@ -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'
,
'\\'
,
'C'
,
'u'
,
'r'
,
'r'
,
'e'
,
'n'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
,
0
};
'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)
* does_port_exist (internal)
...
@@ -318,30 +301,6 @@ static DWORD get_type_from_name(LPCWSTR name)
...
@@ -318,30 +301,6 @@ static DWORD get_type_from_name(LPCWSTR name)
}
}
/*****************************************************
/*****************************************************
* 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]
* localmon_EnumPortsW [exported through MONITOREX]
*
*
* Enumerate all local Ports
* Enumerate all local Ports
...
@@ -651,7 +610,7 @@ LPMONITOREX WINAPI InitializePrintMonitor(LPWSTR regroot)
...
@@ -651,7 +610,7 @@ LPMONITOREX WINAPI InitializePrintMonitor(LPWSTR regroot)
NULL
,
/* localmon_ClosePortW */
NULL
,
/* localmon_ClosePortW */
NULL
,
/* localmon_AddPortW */
NULL
,
/* localmon_AddPortW */
NULL
,
/* localmon_AddPortExW */
NULL
,
/* localmon_AddPortExW */
localmon_ConfigurePortW
,
NULL
,
/* Use ConfigurePortUI in localui.dll */
NULL
,
/* Use DeletePortUI in localui.dll */
NULL
,
/* Use DeletePortUI in localui.dll */
NULL
,
/* localmon_GetPrinterDataFromPort */
NULL
,
/* localmon_GetPrinterDataFromPort */
NULL
,
/* localmon_SetPortTimeOuts */
NULL
,
/* localmon_SetPortTimeOuts */
...
...
dlls/localspl/localspl_private.h
View file @
d5b2a0c3
...
@@ -28,12 +28,10 @@ extern HINSTANCE LOCALSPL_hInstance;
...
@@ -28,12 +28,10 @@ extern HINSTANCE LOCALSPL_hInstance;
/* ## Resource-ID ## */
/* ## Resource-ID ## */
#define IDS_LOCALPORT 500
#define IDS_LOCALPORT 500
#define IDS_LOCALMONITOR 507
#define IDS_LOCALMONITOR 507
#define IDS_NOTHINGTOCONFIG 508
/* ## Reserved memorysize for the strings (in WCHAR) ## */
/* ## Reserved memorysize for the strings (in WCHAR) ## */
#define IDS_LOCALMONITOR_MAXLEN 64
#define IDS_LOCALMONITOR_MAXLEN 64
#define IDS_LOCALPORT_MAXLEN 32
#define IDS_LOCALPORT_MAXLEN 32
#define IDS_NOTHINGTOCONFIG_MAXLEN 80
/* ## Type of Ports ## */
/* ## Type of Ports ## */
/* windows types */
/* windows types */
...
...
dlls/localspl/spl_De.rc
View file @
d5b2a0c3
...
@@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
...
@@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Lokaler Anschluss"
IDS_LOCALPORT "Lokaler Anschluss"
IDS_LOCALMONITOR "Lokaler Monitor"
IDS_LOCALMONITOR "Lokaler Monitor"
IDS_NOTHINGTOCONFIG "Dieser Anschluss hat keine Optionen zum Konfigurieren"
}
}
dlls/localspl/spl_En.rc
View file @
d5b2a0c3
...
@@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
...
@@ -25,5 +25,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Local Port"
IDS_LOCALPORT "Local Port"
IDS_LOCALMONITOR "Local Monitor"
IDS_LOCALMONITOR "Local Monitor"
IDS_NOTHINGTOCONFIG "This port has no options to configure"
}
}
dlls/localspl/spl_Fr.rc
View file @
d5b2a0c3
...
@@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
...
@@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Port local"
IDS_LOCALPORT "Port local"
IDS_LOCALMONITOR "Moniteur local"
IDS_LOCALMONITOR "Moniteur local"
IDS_NOTHINGTOCONFIG "Ce port n'a pas d'option à configurer"
}
}
dlls/localspl/spl_Ko.rc
View file @
d5b2a0c3
...
@@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
...
@@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Áö¿ª Æ÷Æ®"
IDS_LOCALPORT "Áö¿ª Æ÷Æ®"
IDS_LOCALMONITOR "Áö¿ª ¸ð´ÏÅÍ"
IDS_LOCALMONITOR "Áö¿ª ¸ð´ÏÅÍ"
IDS_NOTHINGTOCONFIG "This port has no options to configure"
}
}
dlls/localspl/spl_No.rc
View file @
d5b2a0c3
...
@@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
...
@@ -24,5 +24,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Lokal port"
IDS_LOCALPORT "Lokal port"
IDS_LOCALMONITOR "Lokal overvåker"
IDS_LOCALMONITOR "Lokal overvåker"
IDS_NOTHINGTOCONFIG "Denne porten har ingen innstillinger"
}
}
dlls/localspl/spl_Pl.rc
View file @
d5b2a0c3
...
@@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
...
@@ -26,5 +26,4 @@ STRINGTABLE DISCARDABLE
{
{
IDS_LOCALPORT "Port lokalny"
IDS_LOCALPORT "Port lokalny"
IDS_LOCALMONITOR "Monitor lokalny"
IDS_LOCALMONITOR "Monitor lokalny"
IDS_NOTHINGTOCONFIG "Ten port nie ma opcji do skonfigurowania"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment