File Index Symbol Index

/******************************************************************************** * * * wow64app.h - ApiSet Contract for api-ms-win-core-wow64-l1 * * * * Copyright (c) Microsoft Corporation. All rights reserved. * * * ********************************************************************************/
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#ifndef _WOW64APISET_H_
#define _WOW64APISET_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <minwinbase.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
// RC warns because "WINBASE_DECLARE_GET_SYSTEM_WOW64_DIRECTORY" is a bit long.
#if !defined(RC_INVOKED)
#if _WIN32_WINNT >= 0x0501 || defined(WINBASE_DECLARE_GET_SYSTEM_WOW64_DIRECTORY)
BOOL
Wow64DisableWow64FsRedirection
( );
BOOL
Wow64RevertWow64FsRedirection
( );
#endif // _WIN32_WINNT >= 0x0501 #endif // !defined(RC_INVOKED)
#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#pragma endregion #pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#if (_WIN32_WINNT >= 0x0501)
BOOL
IsWow64Process
( );
#endif // _WIN32_WINNT >= 0x0501
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
// RC warns because "WINBASE_DECLARE_GET_SYSTEM_WOW64_DIRECTORY" is a bit long.
#if !defined(RC_INVOKED)
#if _WIN32_WINNT >= 0x0501 || defined(WINBASE_DECLARE_GET_SYSTEM_WOW64_DIRECTORY)
_Must_inspect_result_
_Success_(return != 0 && return < uSize)
UINT
GetSystemWow64DirectoryA
( );
_Must_inspect_result_
_Success_(return != 0 && return < uSize)
UINT
GetSystemWow64DirectoryW
( );
#ifdef UNICODE
#define GetSystemWow64Directory GetSystemWow64DirectoryW
#else
#define GetSystemWow64Directory GetSystemWow64DirectoryA #endif // !UNICODE
#endif // _WIN32_WINNT >= 0x0501 #endif // !defined(RC_INVOKED)
#if (_WIN32_WINNT >= 0x0A00)
USHORT
Wow64SetThreadDefaultGuestMachine
( );
#endif // _WIN32_WINNT >= 0x0A00
#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#pragma endregion #pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#if (_WIN32_WINNT >= 0x0A00)
BOOL
IsWow64Process2
( );
#endif // _WIN32_WINNT >= 0x0A00
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#if (_WIN32_WINNT >= 0x0A00)
_Must_inspect_result_
_Success_(return != 0 && return < uSize)
UINT
GetSystemWow64Directory2A
( );
_Must_inspect_result_
_Success_(return != 0 && return < uSize)
UINT
GetSystemWow64Directory2W
( );
#ifdef UNICODE
#define GetSystemWow64Directory2 GetSystemWow64Directory2W
#else
#define GetSystemWow64Directory2 GetSystemWow64Directory2A #endif // !UNICODE
#endif // _WIN32_WINNT >= 0x0A00
#if (_WIN32_WINNT >= 0x0A00)
_Must_inspect_result_
HRESULT
IsWow64GuestMachineSupported
( );
#endif // _WIN32_WINNT >= 0x0A00
#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _WOW64APISET_H_