Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
padapter enumerate all display modes for this adap

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

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Cheryl Campbell

PageId: ELI610740E