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
211f2c7b
Commit
211f2c7b
authored
Sep 28, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Sep 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Implement SpObjectTokenEnum::GetCount().
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
77b7bd19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
token.c
dlls/sapi/token.c
+10
-2
No files found.
dlls/sapi/token.c
View file @
211f2c7b
...
...
@@ -234,6 +234,7 @@ struct token_enum
BOOL
init
;
WCHAR
*
req
,
*
opt
;
ULONG
count
;
};
struct
token_enum
*
impl_from_ISpObjectTokenEnumBuilder
(
ISpObjectTokenEnumBuilder
*
iface
)
...
...
@@ -326,8 +327,14 @@ static HRESULT WINAPI token_enum_Item( ISpObjectTokenEnumBuilder *iface,
static
HRESULT
WINAPI
token_enum_GetCount
(
ISpObjectTokenEnumBuilder
*
iface
,
ULONG
*
count
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
struct
token_enum
*
This
=
impl_from_ISpObjectTokenEnumBuilder
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
count
);
if
(
!
This
->
init
)
return
SPERR_UNINITIALIZED
;
*
count
=
This
->
count
;
return
S_OK
;
}
static
HRESULT
WINAPI
token_enum_SetAttribs
(
ISpObjectTokenEnumBuilder
*
iface
,
...
...
@@ -417,6 +424,7 @@ HRESULT token_enum_create( IUnknown *outer, REFIID iid, void **obj )
This
->
req
=
NULL
;
This
->
opt
=
NULL
;
This
->
init
=
FALSE
;
This
->
count
=
0
;
hr
=
ISpObjectTokenEnumBuilder_QueryInterface
(
&
This
->
ISpObjectTokenEnumBuilder_iface
,
iid
,
obj
);
...
...
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