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
b71a0e33
Commit
b71a0e33
authored
Sep 01, 2023
by
Louis Lenders
Committed by
Alexandre Julliard
Sep 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldp: Add WldpGetLockdownPolicy stub.
parent
e9003720
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
1 deletion
+61
-1
wldp.c
dlls/wldp/wldp.c
+13
-0
wldp.spec
dlls/wldp/wldp.spec
+1
-1
Makefile.in
include/Makefile.in
+1
-0
wldp.h
include/wldp.h
+46
-0
No files found.
dlls/wldp/wldp.c
View file @
b71a0e33
...
...
@@ -22,6 +22,8 @@
#include "windef.h"
#include "winbase.h"
#include "wldp.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wldp
);
...
...
@@ -36,3 +38,14 @@ HRESULT WINAPI WldpIsDynamicCodePolicyEnabled(BOOL *is_enabled)
*
is_enabled
=
FALSE
;
return
S_OK
;
}
/***********************************************************************
* WldpGetLockdownPolicy (wldp.@)
*/
HRESULT
WINAPI
WldpGetLockdownPolicy
(
WLDP_HOST_INFORMATION
*
info
,
DWORD
*
state
,
DWORD
flags
)
{
FIXME
(
"%p %p %lu
\n
"
,
info
,
state
,
flags
);
*
state
=
0
;
return
S_OK
;
}
dlls/wldp/wldp.spec
View file @
b71a0e33
...
...
@@ -16,7 +16,7 @@
@ stub WldpCheckWcosDeviceEncryptionSecure
@ stub WldpDisableDeveloperMode
@ stub WldpEnableDeveloperMode
@ st
ub WldpGetLockdownPolicy
@ st
dcall WldpGetLockdownPolicy(ptr ptr long)
@ stub WldpIsAllowedEntryPoint
@ stub WldpIsClassInApprovedList
@ stub WldpIsDebugAllowed
...
...
include/Makefile.in
View file @
b71a0e33
...
...
@@ -953,6 +953,7 @@ SOURCES = \
winuser.rh
\
winver.h
\
wlanapi.h
\
wldp.h
\
wmcodecdsp.idl
\
wmdrmsdk.idl
\
wmistr.h
\
...
...
include/wldp.h
0 → 100644
View file @
b71a0e33
/*
* Copyright 2023 Louis Lenders
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef WLDP_H
#define WLDP_H
typedef
enum
WLDP_HOST_ID
{
WLDP_HOST_ID_UNKNOWN
,
WLDP_HOST_ID_GLOBAL
,
WLDP_HOST_ID_VBA
,
WLDP_HOST_ID_WSH
,
WLDP_HOST_ID_POWERSHELL
,
WLDP_HOST_ID_IE
,
WLDP_HOST_ID_MSI
,
WLDP_HOST_ID_ALL
,
WLDP_HOST_ID_MAX
}
WLDP_HOST_ID
;
typedef
struct
WLDP_HOST_INFORMATION
{
DWORD
dwRevision
;
WLDP_HOST_ID
dwHostId
;
const
WCHAR
*
szSource
;
HANDLE
hSource
;
}
WLDP_HOST_INFORMATION
,
*
PWLDP_HOST_INFORMATION
;
HRESULT
WINAPI
WldpGetLockdownPolicy
(
WLDP_HOST_INFORMATION
*
,
DWORD
*
,
DWORD
);
HRESULT
WINAPI
WldpIsDynamicCodePolicyEnabled
(
BOOL
*
);
#endif
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