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. |
The DetectModefunction is used to determine the display mode that corresponds exactly to a set of parameters. The list of supported modes is parsed using GetModeand GetModeEx(if it is supported) in order to find a match.
virtual SCODE DetectMode ( DWORD * dwModeID , DWORD dwWidth , DWORD dwHeight , EGPEFormat format , EDDGPEPixelFormat pixelFormat , DDPIXELFORMAT * pDDPF = NULL );
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