xternFP InitApp push hInstance ; instance handle call InitApp or ax,ax ; zero if error jz error_handler |
The InitApp function creates the application queue and installs application-support routines, such as the signal procedure, version-specific resource loaders, and the divide-by-zero interrupt routine.
hInstance
Identifies the task to be initialized. This parameter must have been previously supplied by Windows.
This function returns a nonzero value in the AX register if successful. Otherwise, it returns zero in the AX register to indicate an error.