Add stubs for the Activation Context API (XP+).

This commit is contained in:
Jon Griffiths 2004-01-30 22:57:21 +00:00 committed by Alexandre Julliard
parent 0dc42208b5
commit 32376a5227
3 changed files with 184 additions and 0 deletions

View File

@ -25,6 +25,7 @@ C_SRCS = \
$(TOPOBJDIR)/files/smb.c \ $(TOPOBJDIR)/files/smb.c \
$(TOPOBJDIR)/misc/options.c \ $(TOPOBJDIR)/misc/options.c \
$(TOPOBJDIR)/misc/registry.c \ $(TOPOBJDIR)/misc/registry.c \
actctx.c \
atom.c \ atom.c \
change.c \ change.c \
comm.c \ comm.c \

171
dlls/kernel/actctx.c Normal file
View File

@ -0,0 +1,171 @@
/*
* Activation contexts
*
* Copyright 2004 Jon Griffiths
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winnls.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(actctx);
/***********************************************************************
* CreateActCtxA (KERNEL32.@)
*
* Create an activation context.
*/
HANDLE WINAPI CreateActCtxA(PVOID /*PACTCTXA*/ pActCtx)
{
FIXME("stub!\n");
return INVALID_HANDLE_VALUE;
}
/***********************************************************************
* CreateActCtxW (KERNEL32.@)
*
* Create an activation context.
*/
HANDLE WINAPI CreateActCtxW(PVOID /*PACTCTXW*/ pActCtx)
{
FIXME("stub!\n");
return INVALID_HANDLE_VALUE;
}
/***********************************************************************
* ActivateActCtx (KERNEL32.@)
*
* Activate an activation context.
*/
BOOL WINAPI ActivateActCtx(PVOID /*HACTCTX*/ hActCtx, ULONG_PTR ulCookie)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* DeactivateActCtx (KERNEL32.@)
*
* Deactivate an activation context.
*/
BOOL WINAPI DeactivateActCtx(DWORD dwFlags, ULONG_PTR ulCookie)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* GetCurrentActCtx (KERNEL32.@)
*
* Get the current activation context.
*/
BOOL WINAPI GetCurrentActCtx(HANDLE* phActCtx)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* AddRefActCtx (KERNEL32.@)
*
* Add a reference to an activation context.
*/
void WINAPI AddRefActCtx(HANDLE hActCtx)
{
FIXME("stub!\n");
}
/***********************************************************************
* ReleaseActCtx (KERNEL32.@)
*
* Release a reference to an activation context.
*/
void WINAPI ReleaseActCtx(HANDLE hActCtx)
{
FIXME("stub!\n");
}
/***********************************************************************
* ZombifyActCtx (KERNEL32.@)
*
* Release a reference to an activation context.
*/
BOOL WINAPI ZombifyActCtx(HANDLE hActCtx)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* FindActCtxSectionStringA (KERNEL32.@)
*
* Find information about a GUID in an activation context.
*/
BOOL WINAPI FindActCtxSectionStringA(DWORD dwFlags, const GUID* lpExtGuid,
ULONG ulId, LPCSTR lpSearchStr,
PVOID /*PACTCTX_SECTION_KEYED_DATA*/ pInfo)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* FindActCtxSectionStringW (KERNEL32.@)
*
* Find information about a GUID in an activation context.
*/
BOOL WINAPI FindActCtxSectionStringW(DWORD dwFlags, const GUID* lpExtGuid,
ULONG ulId, LPCWSTR lpSearchStr,
PVOID /*PACTCTX_SECTION_KEYED_DATA*/ pInfo)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* FindActCtxSectionGuid (KERNEL32.@)
*
* Find information about a GUID in an activation context.
*/
BOOL WINAPI FindActCtxSectionGuid(DWORD dwFlags, const GUID* lpExtGuid,
ULONG ulId, const GUID* lpSearchGuid,
PVOID /*PACTCTX_SECTION_KEYED_DATA*/ pInfo)
{
FIXME("stub!\n");
return FALSE;
}
/***********************************************************************
* QueryActCtxW (KERNEL32.@)
*
* Get information about an activation context.
*/
BOOL WINAPI QueryActCtxW(DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInst,
ULONG ulClass, PVOID pvBuff, SIZE_T cbBuff,
SIZE_T *pcbLen)
{
FIXME("stub!\n");
return FALSE;
}

View File

@ -1068,9 +1068,21 @@
@ stdcall VerifyVersionInfoW(long long long long) @ stdcall VerifyVersionInfoW(long long long long)
# XP extensions # XP extensions
@ stdcall ActivateActCtx(ptr ptr)
@ stdcall AddRefActCtx(ptr)
@ stdcall CreateActCtxA(ptr)
@ stdcall CreateActCtxW(ptr)
@ stdcall DeactivateActCtx(long ptr)
@ stdcall DebugActiveProcessStop(long) @ stdcall DebugActiveProcessStop(long)
@ stdcall DebugBreakProcess(long) @ stdcall DebugBreakProcess(long)
@ stdcall DebugSetProcessKillOnExit(long) @ stdcall DebugSetProcessKillOnExit(long)
@ stdcall FindActCtxSectionGuid(long ptr long ptr ptr)
@ stdcall FindActCtxSectionStringA(long ptr long str ptr)
@ stdcall FindActCtxSectionStringW(long ptr long wstr ptr)
@ stdcall GetCurrentActCtx()
@ stdcall QueryActCtxW(long ptr ptr long ptr long ptr)
@ stdcall ReleaseActCtx(ptr)
@ stdcall ZombifyActCtx(ptr)
################################################################ ################################################################
# Wine extensions: Win16 functions that are needed by other dlls # Wine extensions: Win16 functions that are needed by other dlls