DDColorControl not available

Started by
1 comment, last by BA 22 years, 5 months ago
I am trying to create a DirectDraw Color control object by the following code: m_pDDSPrimary->QueryInterface( IID_IDirectDrawColorControl, (void **) &m_pDDColorControl ); To my surprise, the result is that m_pDDColorControl remains equal to NULL. Anybody knows the reason? I am using DirectX 8.0a.
Never is a long time!
Advertisement
What''s the return code from QueryInterface() ?

What does the debug spew say ? (It will say something if the call failed).

Do the caps bits for the hardware you''re using indicate that the device should support that interface ?

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

The return value from the call to QueryInterface is 0x80004002, which is "No such interface supported" translated into English.

It''s my hardware that''s not supporting it. Thanks anyway.

This topic is closed to new replies.

Advertisement