Exit

Allows the DLL to execute any code for cleanup purposes (closing files or destroying dialogs) before the DLL is unloaded. This function must be exported as ordinal value 5 (five).

Syntax

WORD WINAPI Exit ( VOID );

Parameters

None.

Return Values

The return value is ignored.

Example

WORD WINAPI Exit( void ) 
{
     return 1;
}