Path: blob/master/thirdparty/directx_headers/include/directx/dxcore.h
9906 views
/************************************************************1* *2* Copyright (c) Microsoft Corporation. *3* Licensed under the MIT license. *4* *5************************************************************/67#ifndef _DXCOREEXTMODULE_H_8#define _DXCOREEXTMODULE_H_910#include <winapifamily.h>11#include "dxcore_interface.h"1213#pragma region Application Family or OneCore Family14#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)1516#if (_WIN32_WINNT >= _WIN32_WINNT_WIN10)1718STDAPI19DXCoreCreateAdapterFactory(20REFIID riid,21_COM_Outptr_ void** ppvFactory22);2324template <class T>25HRESULT26DXCoreCreateAdapterFactory(27_COM_Outptr_ T** ppvFactory28)29{30return DXCoreCreateAdapterFactory(IID_PPV_ARGS(ppvFactory));31}3233#endif // (_WIN32_WINNT >= _WIN32_WINNT_WIN10)3435#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */36#pragma endregion3738#endif // _DXCOREEXTMODULE_H_3940414243