CPMCallback

This function is called by the critical process monitor to provide an opportunity for the process to clean up and exit smoothly.

Syntax

void CPMCallback ( DWORD dwCommand, DWORD dwCmdInfo );

Parameters

dwCommand
[in] Specifies the command delivered to the critical process. Presently, it is only one flag, CPM_CLEANUP.
dwCmdInfo
[in] Reserved for future use; set to NULL.

Return Values

None.

Remarks

This function is a prototype for the callback function that a critical process should define and then register with the critical process monitor when the process calls CPMRegister.

See Also

CPMRegister