Share via


IMsoComponent::FQueryTerminate Method

Applies to: Office 2010

Specifies whether the component can terminate.

BOOL FQueryTerminate(
   BOOL fPromptUser
);

Parameters

fPromptUser [in]

TRUE to indicate that the component might need to prompt the user; otherwise, FALSE.

Return Value

TRUE if the component can terminate; otherwise, FALSE.

Remarks

This method is called by the component manager to determine whether the component is in a state in which it can terminate.

If fPromptUser is TRUE, the component may query the user, as appropriate, to determine whether it should terminate. If it cannot terminate, it should inform the user of why it cannot terminate. If fPromptUser is FALSE, the component should make its decision without querying or informing the user.

See Also

Reference

IMsoComponent Interface