I am working on a driver that needs to write data to a Directx overlay and
flip the overlay. I looked at using DxApi to access the overlay but it does
not appear to be available on my target (embedded unit). To test this I
used some test code to get the IDirectDrawKernel interface from the DirectX
object.
The code run successfully on my development pc but returns S_FALSE on the
target.
So I have some questions.
-
Does the display have to have a videoport to use DxAPI stuff? - my
target does not have a video port according to the DXCapsViewer but it does
have overlay support. -
Where does the videoport support come from - my video driver or DirectX?
The video chip is a Via Twister S3 chip and I am running DirectX 8.1. -
So assuming I can not use Dxapim, can my driver use the standard directX
user mode calls to Lock/Unlock the overlay and flip? If not then what
can I use?
Thanks
Tom