Added YUV routines needed for v4l driver, and in the future possibly
[wine/gsoc-2012-control.git] / dlls / kernel / actctx.c
blobf3b1710591d6556abb971046f7bc431093927eb0
1 /*
2 * Activation contexts
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
21 #include "config.h"
22 #include "wine/port.h"
24 #include <stdarg.h>
25 #include "ntstatus.h"
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winerror.h"
29 #include "winnls.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)
42 FIXME("stub!\n");
43 return INVALID_HANDLE_VALUE;
46 /***********************************************************************
47 * CreateActCtxW (KERNEL32.@)
49 * Create an activation context.
51 HANDLE WINAPI CreateActCtxW(PCACTCTXW pActCtx)
53 FIXME("stub!\n");
54 return INVALID_HANDLE_VALUE;
57 /***********************************************************************
58 * ActivateActCtx (KERNEL32.@)
60 * Activate an activation context.
62 BOOL WINAPI ActivateActCtx(HANDLE hActCtx, ULONG_PTR *ulCookie)
64 FIXME("stub!\n");
65 return FALSE;
68 /***********************************************************************
69 * DeactivateActCtx (KERNEL32.@)
71 * Deactivate an activation context.
73 BOOL WINAPI DeactivateActCtx(DWORD dwFlags, ULONG_PTR ulCookie)
75 FIXME("stub!\n");
76 return FALSE;
79 /***********************************************************************
80 * GetCurrentActCtx (KERNEL32.@)
82 * Get the current activation context.
84 BOOL WINAPI GetCurrentActCtx(HANDLE* phActCtx)
86 FIXME("stub!\n");
87 return FALSE;
90 /***********************************************************************
91 * AddRefActCtx (KERNEL32.@)
93 * Add a reference to an activation context.
95 void WINAPI AddRefActCtx(HANDLE hActCtx)
97 FIXME("stub!\n");
100 /***********************************************************************
101 * ReleaseActCtx (KERNEL32.@)
103 * Release a reference to an activation context.
105 void WINAPI ReleaseActCtx(HANDLE hActCtx)
107 FIXME("stub!\n");
110 /***********************************************************************
111 * ZombifyActCtx (KERNEL32.@)
113 * Release a reference to an activation context.
115 BOOL WINAPI ZombifyActCtx(HANDLE hActCtx)
117 FIXME("stub!\n");
118 return FALSE;
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)
130 FIXME("stub!\n");
131 return FALSE;
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)
143 FIXME("stub!\n");
144 return FALSE;
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)
156 FIXME("stub!\n");
157 return FALSE;
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,
167 SIZE_T *pcbLen)
169 FIXME("stub!\n");
170 /* this makes Adobe Photoshop 7.0 happy */
171 SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
172 return FALSE;