INtime SDK Help
RtShutdownBlockReasonCreate

Sends a message to a Windows application to cancel a shutdown query. For each RtShutdownBlockReasonCreate call, a matching RtShutdownBlockReasonDestroy call must be made in order to allow Windows to shut down.

void RtShutdownBlockReasonCreate( 
    LPStr lpszReason 
)

Parameters

lpszReason
Pointer to a string which describes the reason why shutdown is being stopped. This reason displays in a dialog box for the user.

Additional Information

Return Values

TRUE
Function was successful.
FALSE
Function Failed. To determine status, call GetLastRtError.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also