4 * Copyright 2004 Jon Griffiths
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "wine/port.h"
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(actctx
);
35 /***********************************************************************
36 * CreateActCtxA (KERNEL32.@)
38 * Create an activation context.
40 HANDLE WINAPI
CreateActCtxA(PCACTCTXA pActCtx
)
43 return INVALID_HANDLE_VALUE
;
46 /***********************************************************************
47 * CreateActCtxW (KERNEL32.@)
49 * Create an activation context.
51 HANDLE WINAPI
CreateActCtxW(PCACTCTXW pActCtx
)
54 return INVALID_HANDLE_VALUE
;
57 /***********************************************************************
58 * ActivateActCtx (KERNEL32.@)
60 * Activate an activation context.
62 BOOL WINAPI
ActivateActCtx(HANDLE hActCtx
, ULONG_PTR
*ulCookie
)
68 /***********************************************************************
69 * DeactivateActCtx (KERNEL32.@)
71 * Deactivate an activation context.
73 BOOL WINAPI
DeactivateActCtx(DWORD dwFlags
, ULONG_PTR ulCookie
)
79 /***********************************************************************
80 * GetCurrentActCtx (KERNEL32.@)
82 * Get the current activation context.
84 BOOL WINAPI
GetCurrentActCtx(HANDLE
* phActCtx
)
90 /***********************************************************************
91 * AddRefActCtx (KERNEL32.@)
93 * Add a reference to an activation context.
95 void WINAPI
AddRefActCtx(HANDLE hActCtx
)
100 /***********************************************************************
101 * ReleaseActCtx (KERNEL32.@)
103 * Release a reference to an activation context.
105 void WINAPI
ReleaseActCtx(HANDLE hActCtx
)
110 /***********************************************************************
111 * ZombifyActCtx (KERNEL32.@)
113 * Release a reference to an activation context.
115 BOOL WINAPI
ZombifyActCtx(HANDLE hActCtx
)
121 /***********************************************************************
122 * FindActCtxSectionStringA (KERNEL32.@)
124 * Find information about a GUID in an activation context.
126 BOOL WINAPI
FindActCtxSectionStringA(DWORD dwFlags
, const GUID
* lpExtGuid
,
127 ULONG ulId
, LPCSTR lpSearchStr
,
128 PACTCTX_SECTION_KEYED_DATA pInfo
)
134 /***********************************************************************
135 * FindActCtxSectionStringW (KERNEL32.@)
137 * Find information about a GUID in an activation context.
139 BOOL WINAPI
FindActCtxSectionStringW(DWORD dwFlags
, const GUID
* lpExtGuid
,
140 ULONG ulId
, LPCWSTR lpSearchStr
,
141 PACTCTX_SECTION_KEYED_DATA pInfo
)
147 /***********************************************************************
148 * FindActCtxSectionGuid (KERNEL32.@)
150 * Find information about a GUID in an activation context.
152 BOOL WINAPI
FindActCtxSectionGuid(DWORD dwFlags
, const GUID
* lpExtGuid
,
153 ULONG ulId
, const GUID
* lpSearchGuid
,
154 PACTCTX_SECTION_KEYED_DATA pInfo
)
160 /***********************************************************************
161 * QueryActCtxW (KERNEL32.@)
163 * Get information about an activation context.
165 BOOL WINAPI
QueryActCtxW(DWORD dwFlags
, HANDLE hActCtx
, PVOID pvSubInst
,
166 ULONG ulClass
, PVOID pvBuff
, SIZE_T cbBuff
,
170 /* this makes Adobe Photoshop 7.0 happy */
171 SetLastError( ERROR_CALL_NOT_IMPLEMENTED
);