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
e7acfee9
Commit
e7acfee9
authored
Jul 22, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Added GetCurrentProcessExplicitAppUserModelID() stub.
parent
5178c8b1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
2 deletions
+38
-2
api-ms-win-downlevel-shell32-l1-1-0.spec
...l-shell32-l1-1-0/api-ms-win-downlevel-shell32-l1-1-0.spec
+1
-1
shell32.spec
dlls/shell32/shell32.spec
+1
-0
shell32_main.c
dlls/shell32/shell32_main.c
+10
-0
appbar.c
dlls/shell32/tests/appbar.c
+26
-1
No files found.
dlls/api-ms-win-downlevel-shell32-l1-1-0/api-ms-win-downlevel-shell32-l1-1-0.spec
View file @
e7acfee9
@ stdcall CommandLineToArgvW(wstr ptr) shell32.CommandLineToArgvW
@ st
ub
GetCurrentProcessExplicitAppUserModelID
@ st
dcall GetCurrentProcessExplicitAppUserModelID(ptr) shell32.
GetCurrentProcessExplicitAppUserModelID
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID
dlls/shell32/shell32.spec
View file @
e7acfee9
...
...
@@ -310,6 +310,7 @@
@ stdcall FindExecutableW(wstr wstr ptr)
@ stub FixupOptionalComponents
@ stdcall FreeIconList(long)
@ stdcall GetCurrentProcessExplicitAppUserModelID(ptr)
@ stdcall InitNetworkAddressControl()
@ stub InternalExtractIconListA
@ stub InternalExtractIconListW
...
...
dlls/shell32/shell32_main.c
View file @
e7acfee9
...
...
@@ -1378,6 +1378,16 @@ HRESULT WINAPI SetCurrentProcessExplicitAppUserModelID(PCWSTR appid)
}
/***********************************************************************
* GetCurrentProcessExplicitAppUserModelID (SHELL32.@)
*/
HRESULT
WINAPI
GetCurrentProcessExplicitAppUserModelID
(
PWSTR
*
appid
)
{
FIXME
(
"%p: stub
\n
"
,
appid
);
*
appid
=
NULL
;
return
E_NOTIMPL
;
}
/***********************************************************************
* SHSetUnreadMailCountW (SHELL32.@)
*/
HRESULT
WINAPI
SHSetUnreadMailCountW
(
LPCWSTR
mailaddress
,
DWORD
count
,
LPCWSTR
executecommand
)
...
...
dlls/shell32/tests/appbar.c
View file @
e7acfee9
...
...
@@ -29,6 +29,7 @@
static
const
CHAR
testwindow_class
[]
=
"testwindow"
;
static
HMONITOR
(
WINAPI
*
pMonitorFromWindow
)(
HWND
,
DWORD
);
static
HRESULT
(
WINAPI
*
pGetCurrentProcessExplicitAppUserModelID
)(
PWSTR
*
);
typedef
BOOL
(
*
boolean_function
)(
void
);
...
...
@@ -430,15 +431,39 @@ static void test_appbarget(void)
return
;
}
static
void
test_GetCurrentProcessExplicitAppUserModelID
(
void
)
{
WCHAR
*
appid
;
HRESULT
hr
;
if
(
!
pGetCurrentProcessExplicitAppUserModelID
)
{
win_skip
(
"GetCurrentProcessExplicitAppUserModelID() is not supported.
\n
"
);
return
;
}
if
(
0
)
/* crashes on native */
hr
=
pGetCurrentProcessExplicitAppUserModelID
(
NULL
);
appid
=
(
void
*
)
0xdeadbeef
;
hr
=
pGetCurrentProcessExplicitAppUserModelID
(
&
appid
);
todo_wine
ok
(
hr
==
E_FAIL
,
"got 0x%08x
\n
"
,
hr
);
ok
(
appid
==
NULL
,
"got %p
\n
"
,
appid
);
}
START_TEST
(
appbar
)
{
HMODULE
huser32
;
HMODULE
huser32
,
hshell32
;
huser32
=
GetModuleHandleA
(
"user32.dll"
);
hshell32
=
GetModuleHandleA
(
"shell32.dll"
);
pMonitorFromWindow
=
(
void
*
)
GetProcAddress
(
huser32
,
"MonitorFromWindow"
);
pGetCurrentProcessExplicitAppUserModelID
=
(
void
*
)
GetProcAddress
(
hshell32
,
"GetCurrentProcessExplicitAppUserModelID"
);
register_testwindow_class
();
test_setpos
();
test_appbarget
();
test_GetCurrentProcessExplicitAppUserModelID
();
}
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