CPMNotify

This function notifies the critical process monitor that the process is still functioning normally.

Syntax

BOOL CPMNotify ( DWORD dwProcessID );

Parameters

dwProcessID
[in] Specifies the process identifier.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

CPMNotify must be called by the process at a rate at least as frequent as the notification interval that was registered with CPMRegister. If the critical process monitor does not receive a notification within the registered time limit, the critical process monitor assumes that the process has encountered a fault condition and takes the appropriate action, according to the monitoring option that the process registered. The only monitoring option currently available is CPM_RELAUNCH.

See Also

CPMRegister