kernelbase: Implement AppPolicyGetMediaFoundationCodecLoading.
Enables native Windows 10 media foundation libraries to run. Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
170cb0d930
commit
b5c1f4a7a4
|
@ -1,7 +1,7 @@
|
||||||
@ stub AppPolicyGetClrCompat
|
@ stub AppPolicyGetClrCompat
|
||||||
@ stub AppPolicyGetCreateFileAccess
|
@ stub AppPolicyGetCreateFileAccess
|
||||||
@ stub AppPolicyGetLifecycleManagement
|
@ stub AppPolicyGetLifecycleManagement
|
||||||
@ stub AppPolicyGetMediaFoundationCodecLoading
|
@ stdcall AppPolicyGetMediaFoundationCodecLoading(ptr ptr) kernelbase.AppPolicyGetMediaFoundationCodecLoading
|
||||||
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
|
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
|
||||||
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
|
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
|
||||||
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
|
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
# @ stub AppPolicyGetClrCompat
|
# @ stub AppPolicyGetClrCompat
|
||||||
# @ stub AppPolicyGetCreateFileAccess
|
# @ stub AppPolicyGetCreateFileAccess
|
||||||
# @ stub AppPolicyGetLifecycleManagement
|
# @ stub AppPolicyGetLifecycleManagement
|
||||||
# @ stub AppPolicyGetMediaFoundationCodecLoading
|
@ stdcall AppPolicyGetMediaFoundationCodecLoading(ptr ptr)
|
||||||
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
|
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
|
||||||
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
|
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
|
||||||
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
|
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
|
||||||
|
|
|
@ -88,6 +88,20 @@ INT WINAPI MulDiv( INT a, INT b, INT c )
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* AppPolicyGetMediaFoundationCodecLoading (KERNELBASE.@)
|
||||||
|
*/
|
||||||
|
|
||||||
|
LONG WINAPI AppPolicyGetMediaFoundationCodecLoading(HANDLE token, AppPolicyMediaFoundationCodecLoading *policy)
|
||||||
|
{
|
||||||
|
FIXME("%p, %p\n", token, policy);
|
||||||
|
|
||||||
|
if(policy)
|
||||||
|
*policy = AppPolicyMediaFoundationCodecLoading_All;
|
||||||
|
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* AppPolicyGetProcessTerminationMethod (KERNELBASE.@)
|
* AppPolicyGetProcessTerminationMethod (KERNELBASE.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -22,6 +22,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef enum AppPolicyMediaFoundationCodecLoading
|
||||||
|
{
|
||||||
|
AppPolicyMediaFoundationCodecLoading_All = 0,
|
||||||
|
AppPolicyMediaFoundationCodecLoading_InboxOnly = 1,
|
||||||
|
} AppPolicyMediaFoundationCodecLoading;
|
||||||
|
|
||||||
typedef enum AppPolicyProcessTerminationMethod
|
typedef enum AppPolicyProcessTerminationMethod
|
||||||
{
|
{
|
||||||
AppPolicyProcessTerminationMethod_ExitProcess = 0,
|
AppPolicyProcessTerminationMethod_ExitProcess = 0,
|
||||||
|
@ -78,6 +84,7 @@ typedef struct PACKAGE_ID
|
||||||
}
|
}
|
||||||
PACKAGE_ID;
|
PACKAGE_ID;
|
||||||
|
|
||||||
|
LONG WINAPI AppPolicyGetMediaFoundationCodecLoading(HANDLE token, AppPolicyMediaFoundationCodecLoading *policy);
|
||||||
LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy);
|
LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy);
|
||||||
LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
|
LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
|
||||||
LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
|
LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
|
||||||
|
|
Loading…
Reference in New Issue