Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f67a6adf
Commit
f67a6adf
authored
Sep 18, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Implement RpcSmDestroyClientContext and RpcSsDestroyClientContext.
parent
51914985
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
+42
-2
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+40
-0
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+2
-2
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
f67a6adf
...
...
@@ -5821,6 +5821,46 @@ void WINAPI NDRCContextMarshall(NDR_CCONTEXT CContext, void *pBuff)
}
}
/***********************************************************************
* RpcSmDestroyClientContext [RPCRT4.@]
*/
RPC_STATUS
WINAPI
RpcSmDestroyClientContext
(
void
**
ContextHandle
)
{
RPC_STATUS
status
=
RPC_X_SS_CONTEXT_MISMATCH
;
struct
context_handle_entry
*
che
=
NULL
;
TRACE
(
"(%p)
\n
"
,
ContextHandle
);
EnterCriticalSection
(
&
ndr_context_cs
);
che
=
get_context_entry
(
*
ContextHandle
);
*
ContextHandle
=
NULL
;
if
(
che
)
{
status
=
RPC_S_OK
;
list_remove
(
&
che
->
entry
);
}
LeaveCriticalSection
(
&
ndr_context_cs
);
if
(
che
)
{
RpcBindingFree
(
&
che
->
handle
);
HeapFree
(
GetProcessHeap
(),
0
,
che
);
}
return
status
;
}
/***********************************************************************
* RpcSsDestroyClientContext [RPCRT4.@]
*/
void
WINAPI
RpcSsDestroyClientContext
(
void
**
ContextHandle
)
{
RPC_STATUS
status
=
RpcSmDestroyClientContext
(
ContextHandle
);
if
(
status
!=
RPC_S_OK
)
RpcRaiseException
(
status
);
}
static
UINT
ndr_update_context_handle
(
NDR_CCONTEXT
*
CContext
,
RPC_BINDING_HANDLE
hBinding
,
const
ndr_context_handle
*
chi
)
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
f67a6adf
...
...
@@ -494,7 +494,7 @@
@ stub RpcServerYield
@ stub RpcSmAllocate
@ stub RpcSmClientFree
@ st
ub RpcSmDestroyClientContext
@ st
dcall RpcSmDestroyClientContext(ptr)
@ stub RpcSmDisableAllocate
@ stub RpcSmEnableAllocate
@ stub RpcSmFree
...
...
@@ -505,7 +505,7 @@
@ stub RpcSsAllocate
@ stub RpcSsContextLockExclusive # wxp
@ stub RpcSsContextLockShared # wxp
@ st
ub RpcSsDestroyClientContext
@ st
dcall RpcSsDestroyClientContext(ptr)
@ stub RpcSsDisableAllocate
@ stub RpcSsDontSerializeContext
@ stub RpcSsEnableAllocate
...
...
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