#include <videoctl.h>
Public Member Functions | |
| CLoadDirectDraw () | |
| ~CLoadDirectDraw () | |
| HRESULT | LoadDirectDraw (LPSTR szDevice) |
| void | ReleaseDirectDraw () |
| HRESULT | IsDirectDrawLoaded () |
| LPDIRECTDRAW | GetDirectDraw () |
| BOOL | IsDirectDrawVersion1 () |
Private Attributes | |
| LPDIRECTDRAW | m_pDirectDraw |
| HINSTANCE | m_hDirectDraw |
Definition at line 131 of file videoctl.h.
| CLoadDirectDraw::CLoadDirectDraw | ( | ) |
Definition at line 431 of file videoctl.cpp.
| CLoadDirectDraw::~CLoadDirectDraw | ( | ) |
Definition at line 437 of file videoctl.cpp.
References m_hDirectDraw, NOTE, and ReleaseDirectDraw().
| HRESULT CLoadDirectDraw::LoadDirectDraw | ( | LPSTR | szDevice | ) |
Definition at line 447 of file videoctl.cpp.
References ASSERT, DbgLog, DirectDrawCreateFromDevice(), DirectDrawCreateFromDeviceEx(), E_NOINTERFACE, hr, HRESULT, LOG_ERROR, LOG_TRACE, m_hDirectDraw, m_pDirectDraw, NOTE, NULL, and ReleaseDirectDraw().
| void CLoadDirectDraw::ReleaseDirectDraw | ( | ) |
Definition at line 517 of file videoctl.cpp.
References m_pDirectDraw, NOTE, and NULL.
Referenced by LoadDirectDraw(), and ~CLoadDirectDraw().
| HRESULT CLoadDirectDraw::IsDirectDrawLoaded | ( | ) |
| LPDIRECTDRAW CLoadDirectDraw::GetDirectDraw | ( | ) |
| BOOL CLoadDirectDraw::IsDirectDrawVersion1 | ( | ) |
Definition at line 556 of file videoctl.cpp.
References DbgLog, FALSE, hr, HRESULT, LOG_TRACE, m_pDirectDraw, NULL, and TRUE.
LPDIRECTDRAW CLoadDirectDraw::m_pDirectDraw [private] |
Definition at line 133 of file videoctl.h.
Referenced by GetDirectDraw(), IsDirectDrawLoaded(), IsDirectDrawVersion1(), LoadDirectDraw(), and ReleaseDirectDraw().
HINSTANCE CLoadDirectDraw::m_hDirectDraw [private] |
1.5.6