ReactOS 0.4.16-dev-588-gf07ea94
|
#include <d3d9.h>
#include "d3d9_helpers.h"
#include <stdio.h>
#include <ddraw.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | MEM_ALIGNMENT 0x20 |
Functions | |
BOOL | ReadRegistryValue (IN DWORD ValueType, IN LPCSTR ValueName, OUT LPBYTE DataBuffer, IN OUT LPDWORD DataBufferSize) |
HRESULT | SafeFormatString (OUT LPSTR Buffer, IN DWORD BufferSize, IN LPCSTR FormatString,...) |
HRESULT | SafeCopyString (OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src) |
HRESULT | SafeAppendString (IN OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src) |
HRESULT | AlignedAlloc (IN OUT LPVOID *ppObject, IN SIZE_T dwSize) |
VOID | AlignedFree (IN OUT LPVOID pObject) |
Variables | |
static LPCSTR | D3D9_DebugRegPath = "Software\\Microsoft\\Direct3D" |
#define MEM_ALIGNMENT 0x20 |
Definition at line 15 of file d3d9_helpers.c.
Definition at line 95 of file d3d9_helpers.c.
Referenced by CreateD3D9(), CreateD3D9Cursor(), CreateD3D9HalDevice(), CreateD3D9MipMap(), CreateDirect3DSwapChain9(), InitD3D9BaseDevice(), and InitD3D9ResourceManager().
Definition at line 130 of file d3d9_helpers.c.
Referenced by CreateD3D9(), CreateD3D9HalDevice(), D3D9BaseObject_Destroy(), IDirect3D9Impl_Release(), and IDirect3DDevice9Base_Release().
BOOL ReadRegistryValue | ( | IN DWORD | ValueType, |
IN LPCSTR | ValueName, | ||
OUT LPBYTE | DataBuffer, | ||
IN OUT LPDWORD | DataBufferSize | ||
) |
Definition at line 19 of file d3d9_helpers.c.
Referenced by CreateInternalDeviceData(), Direct3DCreate9(), CRegistryFolder::FormatContentsForDisplay(), and GetD3D9DriverInfo().
Definition at line 83 of file d3d9_helpers.c.
Referenced by GetDriverName().
Definition at line 61 of file d3d9_helpers.c.
Referenced by CreateInternalDeviceData(), and SafeAppendString().
Definition at line 41 of file d3d9_helpers.c.
Referenced by Direct3DCreate9().
|
static |
Definition at line 17 of file d3d9_helpers.c.
Referenced by ReadRegistryValue().