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
ff8471eb
Commit
ff8471eb
authored
Mar 23, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Implement QueryActCtxSettingsW.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
14b9a5af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
actctx.c
dlls/kernel32/actctx.c
+17
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/kernel32/actctx.c
View file @
ff8471eb
...
...
@@ -309,3 +309,20 @@ BOOL WINAPI QueryActCtxW(DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInst,
}
return
TRUE
;
}
/***********************************************************************
* QueryActCtxSettingsW (KERNEL32.@)
*/
BOOL
WINAPI
QueryActCtxSettingsW
(
DWORD
flags
,
HANDLE
ctx
,
const
WCHAR
*
ns
,
const
WCHAR
*
settings
,
WCHAR
*
buffer
,
SIZE_T
size
,
SIZE_T
*
written
)
{
NTSTATUS
status
;
if
((
status
=
RtlQueryActivationContextApplicationSettings
(
flags
,
ctx
,
ns
,
settings
,
buffer
,
size
,
written
)))
{
SetLastError
(
RtlNtStatusToDosError
(
status
));
return
FALSE
;
}
return
TRUE
;
}
dlls/kernel32/kernel32.spec
View file @
ff8471eb
...
...
@@ -1155,7 +1155,7 @@
@ stdcall PulseEvent(long)
@ stdcall PurgeComm(long long)
@ stdcall -i386 -private -norelay QT_Thunk() krnl386.exe16.QT_Thunk
# @ stub QueryActCtxSettingsW
@ stdcall QueryActCtxSettingsW(long ptr wstr wstr ptr long ptr)
@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
@ stdcall QueryDepthSList(ptr) ntdll.RtlQueryDepthSList
@ stdcall QueryDosDeviceA(str ptr long)
...
...
include/winbase.h
View file @
ff8471eb
...
...
@@ -2475,6 +2475,7 @@ WINADVAPI BOOL WINAPI PrivilegedServiceAuditAlarmW(LPCWSTR,LPCWSTR,HANDL
#define PrivilegedServiceAuditAlarm WINELIB_NAME_AW(PrivilegedServiceAuditAlarm)
WINBASEAPI
BOOL
WINAPI
PulseEvent
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
PurgeComm
(
HANDLE
,
DWORD
);
WINBASEAPI
BOOL
WINAPI
QueryActCtxSettingsW
(
DWORD
,
HANDLE
,
const
WCHAR
*
,
const
WCHAR
*
,
WCHAR
*
,
SIZE_T
,
SIZE_T
*
);
WINBASEAPI
BOOL
WINAPI
QueryActCtxW
(
DWORD
,
HANDLE
,
PVOID
,
ULONG
,
PVOID
,
SIZE_T
,
SIZE_T
*
);
WINBASEAPI
USHORT
WINAPI
QueryDepthSList
(
PSLIST_HEADER
);
WINBASEAPI
DWORD
WINAPI
QueryDosDeviceA
(
LPCSTR
,
LPSTR
,
DWORD
);
...
...
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