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
e511474d
Commit
e511474d
authored
Sep 23, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add stub implementations for RpcMgmtInqStats and RpcMgmtStatsVectorFree.
parent
30930239
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
2 deletions
+42
-2
rpc_server.c
dlls/rpcrt4/rpc_server.c
+34
-0
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+2
-2
rpcdce.h
include/rpcdce.h
+6
-0
No files found.
dlls/rpcrt4/rpc_server.c
View file @
e511474d
...
...
@@ -1124,6 +1124,40 @@ RPC_STATUS WINAPI RpcMgmtInqIfIds(RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR *
}
/***********************************************************************
* RpcMgmtInqStats (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcMgmtInqStats
(
RPC_BINDING_HANDLE
Binding
,
RPC_STATS_VECTOR
**
Statistics
)
{
RPC_STATS_VECTOR
*
stats
;
FIXME
(
"(%p,%p)
\n
"
,
Binding
,
Statistics
);
if
((
stats
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
RPC_STATS_VECTOR
))))
{
stats
->
Count
=
1
;
stats
->
Stats
[
0
]
=
0
;
*
Statistics
=
stats
;
return
RPC_S_OK
;
}
return
RPC_S_OUT_OF_RESOURCES
;
}
/***********************************************************************
* RpcMgmtStatsVectorFree (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcMgmtStatsVectorFree
(
RPC_STATS_VECTOR
**
StatsVector
)
{
FIXME
(
"(%p)
\n
"
,
StatsVector
);
if
(
StatsVector
)
{
HeapFree
(
GetProcessHeap
(),
0
,
*
StatsVector
);
*
StatsVector
=
NULL
;
}
return
RPC_S_OK
;
}
/***********************************************************************
* RpcMgmtEpEltInqBegin (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcMgmtEpEltInqBegin
(
RPC_BINDING_HANDLE
Binding
,
ULONG
InquiryType
,
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
e511474d
...
...
@@ -399,13 +399,13 @@
@ stdcall RpcMgmtInqIfIds(ptr ptr)
@ stub RpcMgmtInqServerPrincNameA
@ stub RpcMgmtInqServerPrincNameW
@ st
ub RpcMgmtInqStats
@ st
dcall RpcMgmtInqStats(ptr ptr)
@ stdcall RpcMgmtIsServerListening(ptr)
@ stub RpcMgmtSetAuthorizationFn
@ stdcall RpcMgmtSetCancelTimeout(long)
@ stdcall RpcMgmtSetComTimeout(ptr long)
@ stdcall RpcMgmtSetServerStackSize(long)
@ st
ub RpcMgmtStatsVectorFree
@ st
dcall RpcMgmtStatsVectorFree(ptr)
@ stdcall RpcMgmtStopServerListening(ptr)
@ stdcall RpcMgmtWaitServerListen()
@ stub RpcNetworkInqProtseqsA
...
...
include/rpcdce.h
View file @
e511474d
...
...
@@ -79,6 +79,12 @@ typedef struct
RPC_IF_ID
*
IfId
[
1
];
}
RPC_IF_ID_VECTOR
;
typedef
struct
{
unsigned
int
Count
;
unsigned
long
Stats
[
1
];
}
RPC_STATS_VECTOR
;
typedef
I_RPC_HANDLE
*
RPC_EP_INQ_HANDLE
;
#define RPC_C_EP_ALL_ELTS 0
...
...
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