Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function is used to translate DDPIXELFORMATinto EGPEFormat and EDDGPEPixelFormat. The default implementation doesn't take dwCaps into account. If the translation is dependent on DDSCAPSspecified in dwCaps, your driver needs to override this function.
virtual SCODE DetectPixelFormat ( DWORD dwCaps , DDPIXELFORMAT * pDDPF , EGPEFormat * pFormat , EDDGPEPixelFormat * pPixelFormat );
Parameters
Return Values
The return value is S_OK if the function is successful. Otherwise an error code is returned.
Last updated on Tuesday, July 13, 2004