CPMUnRegister

This function unregisters a process with the Critical Process Manager.

Syntax

BOOL CPMUnRegister ( DWORD dwProcessId );

Parameters

dwProcessId
[in] Specifies the process identifier.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

A process that registers with the critical process monitor by calling CPMRegister should call CPMUnRegister when the process is no longer critical to the proper operation of the Auto PC.

See Also

CPMRegister