PBLIBMAIN function

Purpose

PBLIBMAIN performs a similar task to DLLMAIN and LIBMAIN, except that PBLIBMAIN takes no parameters.

In 32-bit Windows, PBLIBMAIN is called each time a DLL is loaded or unloaded by an application or process, and (usually) if a thread is started and stopped. Your code should never call PBLIBMAIN.

Syntax

FUNCTION PBLIBMAIN [()] [AS LONG]

Remarks

See LIBMAIN / DLLMAIN for more information.

See also

DLLMAIN, LIBMAIN, PBMAIN, THREAD CREATE, WINMAIN