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
2f6735e8
Commit
2f6735e8
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 NCryptEnumKeys stub.
Signed-off-by:
Joseph Kogut
<
joseph.kogut@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2321adb1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
main.c
dlls/ncrypt/main.c
+7
-0
ncrypt.spec
dlls/ncrypt/ncrypt.spec
+1
-1
ncrypt.h
include/ncrypt.h
+7
-0
No files found.
dlls/ncrypt/main.c
View file @
2f6735e8
...
...
@@ -76,6 +76,13 @@ SECURITY_STATUS WINAPI NCryptEnumAlgorithms(NCRYPT_PROV_HANDLE provider, DWORD a
return
NTE_NOT_SUPPORTED
;
}
SECURITY_STATUS
WINAPI
NCryptEnumKeys
(
NCRYPT_PROV_HANDLE
provider
,
const
WCHAR
*
scope
,
NCryptKeyName
**
key_name
,
PVOID
*
enum_state
,
DWORD
flags
)
{
FIXME
(
"(0x%lx, %p, %p, %p, 0x%08x): stub
\n
"
,
provider
,
scope
,
key_name
,
enum_state
,
flags
);
return
NTE_NOT_SUPPORTED
;
}
SECURITY_STATUS
WINAPI
NCryptFinalizeKey
(
NCRYPT_KEY_HANDLE
key
,
DWORD
flags
)
{
FIXME
(
"(0x%lx, 0x%08x): stub
\n
"
,
key
,
flags
);
...
...
dlls/ncrypt/ncrypt.spec
View file @
2f6735e8
...
...
@@ -68,7 +68,7 @@
@ stub NCryptDuplicateKeyProtectorHandle
@ stdcall NCryptEncrypt(long ptr long ptr ptr long ptr long)
@ stdcall NCryptEnumAlgorithms(long long ptr ptr long)
@ st
ub NCryptEnumKeys
@ st
dcall NCryptEnumKeys(long wstr ptr ptr long)
@ stub NCryptEnumStorageProviders
@ stub NCryptExportKey
@ stdcall NCryptFinalizeKey(long long)
...
...
include/ncrypt.h
View file @
2f6735e8
...
...
@@ -39,6 +39,13 @@ typedef struct _NCryptAlgorithmName {
DWORD
dwFlags
;
}
NCryptAlgorithmName
;
typedef
struct
NCryptKeyName
{
LPWSTR
pszName
;
LPWSTR
pszAlgid
;
DWORD
dwLegacyKeySpec
;
DWORD
dwFlags
;
}
NCryptKeyName
;
typedef
ULONG_PTR
NCRYPT_HANDLE
;
typedef
ULONG_PTR
NCRYPT_PROV_HANDLE
;
typedef
ULONG_PTR
NCRYPT_KEY_HANDLE
;
...
...
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