ddraw/tests: Fully initialize surface desc in surface enumeration tests.
[wine.git] / dlls / kernelbase / main.c
blob9c89ff4eac9ec59be13e0f5676019ca8e2dcc183
1 /*
2 * Copyright 2017 Andrey Gusev
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "windows.h"
20 #include "appmodel.h"
22 #include "wine/debug.h"
24 WINE_DEFAULT_DEBUG_CHANNEL(kernelbase);
26 /***********************************************************************
27 * AppPolicyGetProcessTerminationMethod (KERNELBASE.@)
29 LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy)
31 FIXME("%p, %p\n", token, policy);
33 if(policy)
34 *policy = AppPolicyProcessTerminationMethod_ExitProcess;
36 return ERROR_SUCCESS;
39 /***********************************************************************
40 * AppPolicyGetThreadInitializationType (KERNELBASE.@)
42 LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy)
44 FIXME("%p, %p\n", token, policy);
46 if(policy)
47 *policy = AppPolicyThreadInitializationType_None;
49 return ERROR_SUCCESS;
52 /***********************************************************************
53 * AppPolicyGetShowDeveloperDiagnostic (KERNELBASE.@)
55 LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy)
57 FIXME("%p, %p\n", token, policy);
59 if(policy)
60 *policy = AppPolicyShowDeveloperDiagnostic_ShowUI;
62 return ERROR_SUCCESS;
65 /***********************************************************************
66 * AppPolicyGetWindowingModel (KERNELBASE.@)
68 LONG WINAPI AppPolicyGetWindowingModel(HANDLE token, AppPolicyWindowingModel *policy)
70 FIXME("%p, %p\n", token, policy);
72 if(policy)
73 *policy = AppPolicyWindowingModel_ClassicDesktop;
75 return ERROR_SUCCESS;
78 /***********************************************************************
79 * QuirkIsEnabled3 (KERNELBASE.@)
81 BOOL WINAPI QuirkIsEnabled3(void *unk1, void *unk2)
83 static int once;
85 if (!once++)
86 FIXME("(%p, %p) stub!\n", unk1, unk2);
88 return FALSE;