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
a06af679
Commit
a06af679
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 AppPolicyGetShowDeveloperDiagnostic stub.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
825d5c86
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
+14
-0
appmodel.h
include/appmodel.h
+7
-0
No files found.
dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec
View file @
a06af679
...
...
@@ -3,7 +3,7 @@
@ stub AppPolicyGetLifecycleManagement
@ stub AppPolicyGetMediaFoundationCodecLoading
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
@ st
ub
AppPolicyGetShowDeveloperDiagnostic
@ st
dcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.
AppPolicyGetShowDeveloperDiagnostic
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
@ stub AppPolicyGetWindowingModel
@ stub GetApplicationUserModelIdFromToken
...
...
dlls/kernelbase/kernelbase.spec
View file @
a06af679
...
...
@@ -45,7 +45,7 @@
# @ stub AppPolicyGetLifecycleManagement
# @ stub AppPolicyGetMediaFoundationCodecLoading
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
# @ stub AppPolicyGetShowDeveloperDiagnostic
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
# @ stub AppPolicyGetWindowingModel
# @ stub AppXFreeMemory
...
...
dlls/kernelbase/main.c
View file @
a06af679
...
...
@@ -50,6 +50,20 @@ LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadIn
}
/***********************************************************************
* AppPolicyGetShowDeveloperDiagnostic (KERNELBASE.@)
*/
LONG
WINAPI
AppPolicyGetShowDeveloperDiagnostic
(
HANDLE
token
,
AppPolicyShowDeveloperDiagnostic
*
policy
)
{
FIXME
(
"%p, %p
\n
"
,
token
,
policy
);
if
(
policy
)
*
policy
=
AppPolicyShowDeveloperDiagnostic_ShowUI
;
return
ERROR_SUCCESS
;
}
/***********************************************************************
* QuirkIsEnabled3 (KERNELBASE.@)
*/
BOOL
WINAPI
QuirkIsEnabled3
(
void
*
unk1
,
void
*
unk2
)
...
...
include/appmodel.h
View file @
a06af679
...
...
@@ -34,7 +34,14 @@ typedef enum AppPolicyThreadInitializationType
AppPolicyThreadInitializationType_InitializeWinRT
=
1
,
}
AppPolicyThreadInitializationType
;
typedef
enum
AppPolicyShowDeveloperDiagnostic
{
AppPolicyShowDeveloperDiagnostic_None
=
0
,
AppPolicyShowDeveloperDiagnostic_ShowUI
=
1
,
}
AppPolicyShowDeveloperDiagnostic
;
LONG
WINAPI
AppPolicyGetProcessTerminationMethod
(
HANDLE
token
,
AppPolicyProcessTerminationMethod
*
policy
);
LONG
WINAPI
AppPolicyGetShowDeveloperDiagnostic
(
HANDLE
token
,
AppPolicyShowDeveloperDiagnostic
*
policy
);
LONG
WINAPI
AppPolicyGetThreadInitializationType
(
HANDLE
token
,
AppPolicyThreadInitializationType
*
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