ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

adapter.c File Reference
#include "d3d9_common.h"
#include <d3d9.h>
#include <ddraw.h>
#include <debug.h>
#include <d3dhal.h>
#include "d3d9_private.h"
#include "d3d9_helpers.h"
#include "adapter.h"

Go to the source code of this file.

Data Structures

struct  LPADAPTERMONITOR

Defines

#define D3D9_CAPS1   (D3DCAPS_READ_SCANLINE)
#define D3D9_PRE_XP_CAPS2   (D3DCAPS2_CANAUTOGENMIPMAP | D3DCAPS2_DYNAMICTEXTURES | D3DCAPS2_RESERVED | D3DCAPS2_FULLSCREENGAMMA)
#define D3D9_XP_OR_LATER_CAPS2   (D3D9_PRE_XP_CAPS2 | D3DCAPS2_CANMANAGERESOURCE)
#define D3D9_CAPS3   (D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD | D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION | D3DCAPS3_COPY_TO_VIDMEM | D3DCAPS3_COPY_TO_SYSTEMMEM)
#define D3D9_DEVCAPS
#define D3DCAPS2_PRESENT_INTERVAL_SEVERAL   0x00200000
#define D3DCAPS2_PRESENT_INTERVAL_IMMEDIATE   0x00400000
#define D3DVTXPCAPS_FOGVERTEX   0x00000004

Functions

typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS)(HANDLE
static BOOL GetDriverName (LPDISPLAY_DEVICEA pDisplayDevice, D3DADAPTER_IDENTIFIER9 *pIdentifier)
static void GetDriverVersion (LPDISPLAY_DEVICEA pDisplayDevice, D3DADAPTER_IDENTIFIER9 *pIdentifier)
static void ParseField (LPCSTR lpszDeviceKey, LPDWORD pField, LPCSTR lpszSubString)
static void GetDeviceId (LPCSTR lpszDeviceKey, D3DADAPTER_IDENTIFIER9 *pIdentifier)
static void GenerateDeviceIdentifier (D3DADAPTER_IDENTIFIER9 *pIdentifier)
BOOL GetAdapterInfo (LPCSTR lpszDeviceName, D3DADAPTER_IDENTIFIER9 *pIdentifier)
static BOOL IsWindowsXPorLaterCompatible ()
static void CopyDriverCaps (const D3DCAPS9 *pSrcCaps, D3DCAPS9 *pDstCaps)
HRESULT GetAdapterCaps (const LPDIRECT3D9_DISPLAYADAPTER pDisplayAdapter, D3DDEVTYPE DeviceType, D3DCAPS9 *pDstCaps)
static D3DFORMAT Get16BitD3DFormat (LPCSTR lpszDeviceName)
BOOL GetAdapterMode (LPCSTR lpszDeviceName, D3DDISPLAYMODE *pMode)
static BOOL CALLBACK AdapterMonitorEnumProc (HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData)
HMONITOR GetAdapterMonitor (LPCSTR lpszDeviceName)
UINT GetDisplayFormatCount (D3DFORMAT Format, const D3DDISPLAYMODE *pSupportedDisplayModes, UINT NumDisplayModes)
const D3DDISPLAYMODEFindDisplayFormat (D3DFORMAT Format, UINT ModeIndex, const D3DDISPLAYMODE *pSupportedDisplayModes, UINT NumDisplayModes)

Variables

typedef PBOOL

Generated on Sun May 27 2012 05:01:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.