Over 10 Million Study Resources Now at Your Fingertips


Download as :
Rating : ⭐⭐⭐⭐⭐
Price : $10.99
Language:EN
Pages: 2

Padapter- enumerate all display modes for this adapter failed hret enumeratedisplaymodes padapter

the hierarchy, the Validation functions are called. These functions provide the application an opportunity to accept or reject a given set of capabilities.

HRESULT CD3DInitialize::Enumerate( LPDIRECT3D9 pD3D ) {
HRESULT hRet;

// Store the D3D Object
m_pD3D = pD3D;
if ( !m_pD3D ) return E_FAIL;

}

CD3DInitialize::EnumerateAdapters

HRESULT CD3DInitialize::EnumerateAdapters()
{
HRESULT hRet;

// Enumerate all display modes for this adapter
if ( FAILED( hRet = EnumerateDisplayModes( pAdapter ) ) || FAILED( hRet = EnumerateDevices( pAdapter ) ))
{
delete pAdapter;
if ( hRet == E_ABORT ) continue; else return hRet;

} // End if Failed Code

How It Works
Login account
Login Your Account
Add to cart
Add to Cart
Payment
Make payment
Document download
Download File
PageId: ELI610740E
img
Uploaded by :
qwqDLVYl
Page 1 Preview
padapter enumerate all display modes for this adap
Sell Your Old Documents & Earn Wallet Balance