Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
00b57428
Commit
00b57428
authored
Oct 06, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Oct 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Add AppPolicyGetWindowingModel stub.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a06af679
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
2 deletions
+23
-2
api-ms-win-appmodel-runtime-l1-1-2.spec
...el-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec
+1
-1
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
main.c
dlls/kernelbase/main.c
+12
-0
appmodel.h
include/appmodel.h
+9
-0
No files found.
dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec
View file @
00b57428
...
...
@@ -5,7 +5,7 @@
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
@ st
ub
AppPolicyGetWindowingModel
@ st
dcall AppPolicyGetWindowingModel(ptr ptr) kernelbase.
AppPolicyGetWindowingModel
@ stub GetApplicationUserModelIdFromToken
@ stub GetPackageFamilyNameFromToken
@ stub GetPackageFullNameFromToken
...
...
dlls/kernelbase/kernelbase.spec
View file @
00b57428
...
...
@@ -47,7 +47,7 @@
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
# @ stub AppPolicyGetWindowingModel
@ stdcall AppPolicyGetWindowingModel(ptr ptr)
# @ stub AppXFreeMemory
# @ stub AppXGetApplicationData
# @ stub AppXGetDevelopmentMode
...
...
dlls/kernelbase/main.c
View file @
00b57428
...
...
@@ -62,6 +62,18 @@ LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDevel
return
ERROR_SUCCESS
;
}
/***********************************************************************
* AppPolicyGetWindowingModel (KERNELBASE.@)
*/
LONG
WINAPI
AppPolicyGetWindowingModel
(
HANDLE
token
,
AppPolicyWindowingModel
*
policy
)
{
FIXME
(
"%p, %p
\n
"
,
token
,
policy
);
if
(
policy
)
*
policy
=
AppPolicyWindowingModel_ClassicDesktop
;
return
ERROR_SUCCESS
;
}
/***********************************************************************
* QuirkIsEnabled3 (KERNELBASE.@)
...
...
include/appmodel.h
View file @
00b57428
...
...
@@ -40,9 +40,18 @@ typedef enum AppPolicyShowDeveloperDiagnostic
AppPolicyShowDeveloperDiagnostic_ShowUI
=
1
,
}
AppPolicyShowDeveloperDiagnostic
;
typedef
enum
AppPolicyWindowingModel
{
AppPolicyWindowingModel_None
=
0
,
AppPolicyWindowingModel_Universal
=
1
,
AppPolicyWindowingModel_ClassicDesktop
=
2
,
AppPolicyWindowingModel_ClassicPhone
=
3
}
AppPolicyWindowingModel
;
LONG
WINAPI
AppPolicyGetProcessTerminationMethod
(
HANDLE
token
,
AppPolicyProcessTerminationMethod
*
policy
);
LONG
WINAPI
AppPolicyGetShowDeveloperDiagnostic
(
HANDLE
token
,
AppPolicyShowDeveloperDiagnostic
*
policy
);
LONG
WINAPI
AppPolicyGetThreadInitializationType
(
HANDLE
token
,
AppPolicyThreadInitializationType
*
policy
);
LONG
WINAPI
AppPolicyGetWindowingModel
(
HANDLE
processToken
,
AppPolicyWindowingModel
*
policy
);
#if defined(__cplusplus)
}
...
...
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