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
a7a6927d
Commit
a7a6927d
authored
Jul 11, 2005
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
stub. Show the FIXME in Printer_LoadIconsW only when needed.
parent
e3a4f9b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
4 deletions
+30
-4
shell32.spec
dlls/shell32/shell32.spec
+2
-2
shell32_main.c
dlls/shell32/shell32_main.c
+28
-2
No files found.
dlls/shell32/shell32.spec
View file @
a7a6927d
...
...
@@ -197,8 +197,8 @@
210 stub LargeIntegerToString
211 stub Printers_GetPidl
212 stub Printers_AddPrinterPropPages
213 st
ub Printers_RegisterWindowW
214 st
ub Printers_UnregisterWindow
213 st
dcall Printers_RegisterWindowW(wstr long ptr ptr)
214 st
dcall Printers_UnregisterWindow(long long)
215 stdcall -noname SHStartNetConnectionDialog(long str long)
243 stdcall @(long long) shell32_243
244 stdcall -noname SHInitRestricted(ptr ptr)
...
...
dlls/shell32/shell32_main.c
View file @
a7a6927d
...
...
@@ -733,8 +733,10 @@ VOID WINAPI Printer_LoadIconsW(LPCWSTR wsPrinterName, HICON * pLargeIcon, HICON
3. a Local Printer or a Network-Printer
and use different Icons
*/
FIXME
(
"(select Icon by PrinterName %s not implemented)
\n
"
,
debugstr_w
(
wsPrinterName
));
if
((
wsPrinterName
!=
NULL
)
&&
(
wsPrinterName
[
0
]
!=
0
))
{
FIXME
(
"(select Icon by PrinterName %s not implemented)
\n
"
,
debugstr_w
(
wsPrinterName
));
}
if
(
pLargeIcon
!=
NULL
)
*
pLargeIcon
=
LoadImageW
(
shell32_hInstance
,
...
...
@@ -747,6 +749,30 @@ VOID WINAPI Printer_LoadIconsW(LPCWSTR wsPrinterName, HICON * pLargeIcon, HICON
16
,
16
,
LR_DEFAULTCOLOR
);
}
/*************************************************************************
* Printers_RegisterWindowW [SHELL32.213]
* used by "printui.dll":
* find the Window of the given Type for the specific Printer and
* return the already existent hwnd or open a new window
*/
BOOL
WINAPI
Printers_RegisterWindowW
(
LPCWSTR
wsPrinter
,
DWORD
dwType
,
HANDLE
*
phClassPidl
,
HWND
*
phwnd
)
{
FIXME
(
"(%s, %lx, %p (%p), %p (%p)) stub!
\n
"
,
debugstr_w
(
wsPrinter
),
dwType
,
phClassPidl
,
(
phClassPidl
!=
NULL
)
?
*
(
phClassPidl
)
:
NULL
,
phwnd
,
(
phwnd
!=
NULL
)
?
*
(
phwnd
)
:
NULL
);
return
FALSE
;
}
/*************************************************************************
* Printers_UnregisterWindow [SHELL32.214]
*/
VOID
WINAPI
Printers_UnregisterWindow
(
HANDLE
hClassPidl
,
HWND
hwnd
)
{
FIXME
(
"(%p, %p) stub!
\n
"
,
hClassPidl
,
hwnd
);
}
/*************************************************************************/
typedef
struct
...
...
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