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
acc112ba
Commit
acc112ba
authored
Jun 19, 2011
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Jun 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Implement RpcProtseqVectorFree.
parent
fe2376e6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
2 deletions
+44
-2
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+36
-0
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+2
-2
rpcdce.h
include/rpcdce.h
+6
-0
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
acc112ba
...
...
@@ -3124,3 +3124,39 @@ RPC_STATUS WINAPI RpcNetworkIsProtseqValidA(RPC_CSTR protseq)
}
return
RPC_S_OUT_OF_MEMORY
;
}
/***********************************************************************
* RpcProtseqVectorFreeA (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcProtseqVectorFreeA
(
RPC_PROTSEQ_VECTORA
**
protseqs
)
{
TRACE
(
"(%p)
\n
"
,
protseqs
);
if
(
*
protseqs
)
{
int
i
;
for
(
i
=
0
;
i
<
(
*
protseqs
)
->
Count
;
i
++
)
HeapFree
(
GetProcessHeap
(),
0
,
(
*
protseqs
)
->
Protseq
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
*
protseqs
);
*
protseqs
=
NULL
;
}
return
RPC_S_OK
;
}
/***********************************************************************
* RpcProtseqVectorFreeW (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcProtseqVectorFreeW
(
RPC_PROTSEQ_VECTORW
**
protseqs
)
{
TRACE
(
"(%p)
\n
"
,
protseqs
);
if
(
*
protseqs
)
{
int
i
;
for
(
i
=
0
;
i
<
(
*
protseqs
)
->
Count
;
i
++
)
HeapFree
(
GetProcessHeap
(),
0
,
(
*
protseqs
)
->
Protseq
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
*
protseqs
);
*
protseqs
=
NULL
;
}
return
RPC_S_OK
;
}
dlls/rpcrt4/rpcrt4.spec
View file @
acc112ba
...
...
@@ -418,8 +418,8 @@
@ stub RpcObjectInqType
@ stub RpcObjectSetInqFn
@ stdcall RpcObjectSetType(ptr ptr)
@ st
ub RpcProtseqVectorFreeA
@ st
ub RpcProtseqVectorFreeW
@ st
dcall RpcProtseqVectorFreeA(ptr)
@ st
dcall RpcProtseqVectorFreeW(ptr)
@ stdcall RpcRaiseException(long)
@ stub RpcRegisterAsyncInfo
@ stdcall RpcRevertToSelf()
...
...
include/rpcdce.h
View file @
acc112ba
...
...
@@ -562,6 +562,12 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcProtseqVectorFreeA
(
RPC_PROTSEQ_VECTORA
**
protseqs
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcProtseqVectorFreeW
(
RPC_PROTSEQ_VECTORW
**
protseqs
);
#define RpcProtseqVectorFree WINELIB_NAME_AW(RpcProtseqVectorFree)
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcRevertToSelf
(
void
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcRevertToSelfEx
(
RPC_BINDING_HANDLE
Binding
);
...
...
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