This method of the DirectDrawSurface Class retrieves the color key value for the DirectDrawSurface object.
public void getColorKey(int flags, DDColorKey val);
flags | One value of DDCKEY_ type, specifying which color key to retrieve information for. |
val | The DDColorKey object that receives the current values for the specified color key of the DirectDrawSurface object. |