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
32376a52
Commit
32376a52
authored
Jan 30, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Jan 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stubs for the Activation Context API (XP+).
parent
0dc42208
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
184 additions
and
0 deletions
+184
-0
Makefile.in
dlls/kernel/Makefile.in
+1
-0
actctx.c
dlls/kernel/actctx.c
+171
-0
kernel32.spec
dlls/kernel/kernel32.spec
+12
-0
No files found.
dlls/kernel/Makefile.in
View file @
32376a52
...
...
@@ -25,6 +25,7 @@ C_SRCS = \
$(TOPOBJDIR)
/files/smb.c
\
$(TOPOBJDIR)
/misc/options.c
\
$(TOPOBJDIR)
/misc/registry.c
\
actctx.c
\
atom.c
\
change.c
\
comm.c
\
...
...
dlls/kernel/actctx.c
0 → 100644
View file @
32376a52
/*
* 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
;
}
dlls/kernel/kernel32.spec
View file @
32376a52
...
...
@@ -1068,9 +1068,21 @@
@ stdcall VerifyVersionInfoW(long long long long)
# XP extensions
@ stdcall ActivateActCtx(ptr ptr)
@ stdcall AddRefActCtx(ptr)
@ stdcall CreateActCtxA(ptr)
@ stdcall CreateActCtxW(ptr)
@ stdcall DeactivateActCtx(long ptr)
@ stdcall DebugActiveProcessStop(long)
@ stdcall DebugBreakProcess(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
...
...
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