![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "WinSystemWin32DX.h"
#include "commons/ilog.h"
#include "rendering/dx/RenderContext.h"
#include "settings/DisplaySettings.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "utils/SystemInfo.h"
#include "utils/XTimeUtils.h"
#include "utils/log.h"
#include "windowing/GraphicContext.h"
#include "windowing/WindowSystemFactory.h"
#include "platform/win32/CharsetConverter.h"
#include "platform/win32/WIN32Util.h"
#include <windows.h>
#include <winnt.h>
#include <winternl.h>
#include <d3d10umddi.h>
#include <detours.h>
Functions | |
void APIENTRY | HookCreateResource (D3D10DDI_HDEVICE hDevice, const D3D10DDIARG_CREATERESOURCE *pResource, D3D10DDI_HRESOURCE hResource, D3D10DDI_HRTRESOURCE hRtResource) |
HRESULT APIENTRY | HookCreateDevice (D3D10DDI_HADAPTER hAdapter, D3D10DDIARG_CREATEDEVICE *pCreateData) |
HRESULT APIENTRY | HookOpenAdapter10_2 (D3D10DDIARG_OPENADAPTER *pOpenData) |
std::string | FromW (const wchar_t *str, size_t length) |
std::string KODI::PLATFORM::WINDOWS::FromW | ( | const wchar_t * | str, |
size_t | length ) |
Convert UTF-16 to UTF-8 strings Windows specific method to avoid initialization issues and locking issues that are unique to Windows as API calls expect UTF-16 strings
str[in] | string to be converted |
length[in] | length in characters of the string |
HRESULT APIENTRY HookCreateDevice | ( | D3D10DDI_HADAPTER | hAdapter, |
D3D10DDIARG_CREATEDEVICE * | pCreateData ) |
void APIENTRY HookCreateResource | ( | D3D10DDI_HDEVICE | hDevice, |
const D3D10DDIARG_CREATERESOURCE * | pResource, | ||
D3D10DDI_HRESOURCE | hResource, | ||
D3D10DDI_HRTRESOURCE | hRtResource ) |
HRESULT APIENTRY HookOpenAdapter10_2 | ( | D3D10DDIARG_OPENADAPTER * | pOpenData | ) |