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
87b1bd58
Commit
87b1bd58
authored
Dec 01, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Feb 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptowinrt: Import IAsyncOperation from windows.gaming.input.
parent
254b6d69
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
1 deletion
+59
-1
Makefile.in
dlls/cryptowinrt/Makefile.in
+4
-1
async.c
dlls/cryptowinrt/async.c
+0
-0
private.h
dlls/cryptowinrt/private.h
+8
-0
provider.idl
dlls/cryptowinrt/provider.idl
+47
-0
No files found.
dlls/cryptowinrt/Makefile.in
View file @
87b1bd58
...
...
@@ -2,7 +2,10 @@ MODULE = cryptowinrt.dll
IMPORTS
=
combase bcrypt uuid
C_SRCS
=
\
async.c
\
credentials.c
\
main.c
IDL_SRCS
=
classes.idl
IDL_SRCS
=
\
classes.idl
\
provider.idl
dlls/cryptowinrt/async.c
0 → 100644
View file @
87b1bd58
This diff is collapsed.
Click to expand it.
dlls/cryptowinrt/private.h
View file @
87b1bd58
...
...
@@ -37,10 +37,16 @@
#define WIDL_using_Windows_Security_Credentials
#include "windows.security.credentials.h"
#include "provider.h"
extern
const
char
*
debugstr_hstring
(
HSTRING
hstr
);
extern
IActivationFactory
*
credentials_activation_factory
;
typedef
HRESULT
(
WINAPI
*
async_operation_callback
)(
IUnknown
*
invoker
,
IUnknown
*
param
,
PROPVARIANT
*
result
);
extern
HRESULT
async_operation_boolean_create
(
IUnknown
*
invoker
,
IUnknown
*
param
,
async_operation_callback
callback
,
IAsyncOperation_boolean
**
out
);
#define DEFINE_IINSPECTABLE_( pfx, iface_type, impl_type, impl_from, iface_mem, expr ) \
static inline impl_type *impl_from( iface_type *iface ) \
{ \
...
...
@@ -78,5 +84,7 @@ extern IActivationFactory *credentials_activation_factory;
}
#define DEFINE_IINSPECTABLE( pfx, iface_type, impl_type, base_iface ) \
DEFINE_IINSPECTABLE_( pfx, iface_type, impl_type, impl_from_##iface_type, iface_type##_iface, &impl->base_iface )
#define DEFINE_IINSPECTABLE_OUTER( pfx, iface_type, impl_type, outer_iface ) \
DEFINE_IINSPECTABLE_( pfx, iface_type, impl_type, impl_from_##iface_type, iface_type##_iface, impl->outer_iface )
#endif
dlls/cryptowinrt/provider.idl
0 → 100644
View file @
87b1bd58
/*
*
Copyright
2022
Mohamad
Al
-
Jaf
*
Copyright
2022
R
é
mi
Bernon
for
CodeWeavers
*
*
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
*/
#
pragma
makedep
header
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"propidl.idl"
;
import
"inspectable.idl"
;
import
"asyncinfo.idl"
;
import
"eventtoken.idl"
;
import
"windowscontracts.idl"
;
import
"windows.foundation.idl"
;
namespace
Windows
.
Security.Credentials
{
/*
type
-
pruning
version
of
AsyncOperationCompletedHandler
<
T
>
*/
delegate
HRESULT
WineAsyncOperationCompletedHandler
(
[
in
]
IInspectable
*
async
,
[
in
]
AsyncStatus
status
)
;
[
uuid
(
83
f377ee
-
c799
-
11
ec
-
9
d64
-
0242
ac120002
)
]
interface
IWineAsyncInfoImpl
:
IUnknown
{
[
propput
]
HRESULT
Completed
(
[
in
]
WineAsyncOperationCompletedHandler
*
handler
)
;
[
propget
]
HRESULT
Completed
(
[
out
,
retval
]
WineAsyncOperationCompletedHandler
**
handler
)
;
[
propget
]
HRESULT
Result
(
[
out
,
retval
]
PROPVARIANT
*
result
)
;
HRESULT
Start
()
;
}
}
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