"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/ntdll/actctx.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

actctx.c  (wine-5.12.tar.xz):actctx.c  (wine-5.13.tar.xz)
skipping to change at line 5157 skipping to change at line 5157
{ {
FIXME("%p: stub\n", handle); FIXME("%p: stub\n", handle);
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
/****************************************************************** /******************************************************************
* RtlActivateActivationContext (NTDLL.@) * RtlActivateActivationContext (NTDLL.@)
*/ */
NTSTATUS WINAPI RtlActivateActivationContext( ULONG unknown, HANDLE handle, PULO NG_PTR cookie ) NTSTATUS WINAPI RtlActivateActivationContext( ULONG unknown, HANDLE handle, PULO NG_PTR cookie )
{ {
return RtlActivateActivationContextEx( 0, NtCurrentTeb(), handle, cookie );
}
/******************************************************************
* RtlActivateActivationContextEx (NTDLL.@)
*/
NTSTATUS WINAPI RtlActivateActivationContextEx( ULONG flags, TEB *teb, HANDLE ha
ndle, ULONG_PTR *cookie )
{
RTL_ACTIVATION_CONTEXT_STACK_FRAME *frame; RTL_ACTIVATION_CONTEXT_STACK_FRAME *frame;
if (!(frame = RtlAllocateHeap( GetProcessHeap(), 0, sizeof(*frame) ))) if (!(frame = RtlAllocateHeap( GetProcessHeap(), 0, sizeof(*frame) )))
return STATUS_NO_MEMORY; return STATUS_NO_MEMORY;
frame->Previous = NtCurrentTeb()->ActivationContextStack.ActiveFrame; frame->Previous = teb->ActivationContextStack.ActiveFrame;
frame->ActivationContext = handle; frame->ActivationContext = handle;
frame->Flags = 0; frame->Flags = 0;
NtCurrentTeb()->ActivationContextStack.ActiveFrame = frame; teb->ActivationContextStack.ActiveFrame = frame;
RtlAddRefActivationContext( handle ); RtlAddRefActivationContext( handle );
*cookie = (ULONG_PTR)frame; *cookie = (ULONG_PTR)frame;
TRACE( "%p cookie=%lx\n", handle, *cookie ); TRACE( "%p cookie=%lx\n", handle, *cookie );
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/*********************************************************************** /***********************************************************************
* RtlDeactivateActivationContext (NTDLL.@) * RtlDeactivateActivationContext (NTDLL.@)
*/ */
 End of changes. 3 change blocks. 
2 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)