DDColorControl not available
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.
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
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
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.
It''s my hardware that''s not supporting it. Thanks anyway.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement