TDirectDraw
procedure SetCooperativeLevel( Window: HWND; Flags: Longint );
Calls the interface SetCooperativeLevel method to determine the top-level behavior of the application. See IDirectDraw2::SetCooperativeLevel for more information.