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

UnlockPubScreen

Release lock on a public screen.

Declaration

Source position: intuition.pas line 4182

procedure UnlockPubScreen(

  const name: pCHAR;

  screen: pScreen

);

procedure UnlockPubScreen(

  const name: string;

  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).

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