DirectX SDK |
The DirectDraw7.GetFourCCCodes method retrieves the FOURCC codes supported by the DirectDraw object.
object.GetFourCCCodes(ccCodes() As Long)
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
To retrieve the number of codes supported by a DirectDraw7 object, use DirectDraw7.GetNumFourCCCodes.