This method of the DirectDraw Class retrieves the number of FourCC codes in the array getFourCCCodes specifies.
public int getNumFourCCCodes();
Returns the number of FourCCCodes.