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
9ea80d88
Commit
9ea80d88
authored
Oct 04, 2019
by
Joseph Kogut
Committed by
Alexandre Julliard
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncrypt: Add NCrypt{Get,Set}Property stubs.
Signed-off-by:
Joseph Kogut
<
joseph.kogut@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ff885a81
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
main.c
dlls/ncrypt/main.c
+16
-0
ncrypt.spec
dlls/ncrypt/ncrypt.spec
+2
-2
No files found.
dlls/ncrypt/main.c
View file @
9ea80d88
...
...
@@ -101,6 +101,14 @@ SECURITY_STATUS WINAPI NCryptFreeObject(NCRYPT_HANDLE object)
return
NTE_NOT_SUPPORTED
;
}
SECURITY_STATUS
WINAPI
NCryptGetProperty
(
NCRYPT_HANDLE
object
,
const
WCHAR
*
property
,
PBYTE
output
,
DWORD
outsize
,
DWORD
*
result
,
DWORD
flags
)
{
FIXME
(
"(0x%lx, %s, %p, %u, %p, 0x%08x): stub
\n
"
,
object
,
wine_dbgstr_w
(
property
),
output
,
outsize
,
result
,
flags
);
return
NTE_NOT_SUPPORTED
;
}
SECURITY_STATUS
WINAPI
NCryptOpenKey
(
NCRYPT_PROV_HANDLE
provider
,
NCRYPT_KEY_HANDLE
*
key
,
const
WCHAR
*
name
,
DWORD
keyspec
,
DWORD
flags
)
{
...
...
@@ -113,3 +121,11 @@ SECURITY_STATUS WINAPI NCryptOpenStorageProvider(NCRYPT_PROV_HANDLE *provider, c
FIXME
(
"(%p, %s, %u): stub
\n
"
,
provider
,
wine_dbgstr_w
(
name
),
flags
);
return
NTE_NOT_SUPPORTED
;
}
SECURITY_STATUS
WINAPI
NCryptSetProperty
(
NCRYPT_HANDLE
object
,
const
WCHAR
*
property
,
PBYTE
input
,
DWORD
insize
,
DWORD
flags
)
{
FIXME
(
"(%lx, %s, %p, %u, 0x%08x): stub
\n
"
,
object
,
wine_dbgstr_w
(
property
),
input
,
insize
,
flags
);
return
NTE_NOT_SUPPORTED
;
}
dlls/ncrypt/ncrypt.spec
View file @
9ea80d88
...
...
@@ -74,7 +74,7 @@
@ stdcall NCryptFinalizeKey(long long)
@ stdcall NCryptFreeBuffer(ptr)
@ stdcall NCryptFreeObject(long)
@ st
ub NCryptGetProperty
@ st
dcall NCryptGetProperty(ptr wstr ptr long ptr long)
@ stub NCryptGetProtectionDescriptorInfo
@ stub NCryptImportKey
@ stub NCryptIsAlgSupported
...
...
@@ -90,7 +90,7 @@
@ stub NCryptRegisterProtectionDescriptorName
@ stub NCryptSecretAgreement
@ stub NCryptSetAuditingInterface
@ st
ub NCryptSetProperty
@ st
dcall NCryptSetProperty(ptr wstr ptr long long)
@ stub NCryptSignHash
@ stub NCryptStreamClose
@ stub NCryptStreamOpenToProtect
...
...
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