Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

UnlockPubScreen

Release lock on a public screen.

Declaration

Source position: intuition.pas line 3888

procedure UnlockPubScreen(

  const Name: PChar;

  Screen: PScreen

);

Arguments

Name

  

A pointer to name of public screen. If Name is nil, then argument Screen is used as a direct pointer to a public screen.

Screen

  

A pointer to a public screen. Used only if Name is nil. This pointer must have been returned by LockPubScreen(). It is safe to call UnlockPubScreen() with nil Name and Screen (the function will have no effect).

Description

Releases lock gotten by LockPubScreen(). It is best to identify the locked public screen by the pointer returned from LockPubScreen(). To do this, supply a nil Name pointer and the screen pointer.

In rare circumstances where it would be more convenient to pass a non-nil pointer to the public screen name string, the Screen parameter is ignored.

See also

LockPubScreen

  

Prevent a public screen from closing.


Documentation generated on: 2021-07-30