Partager via


IMsoComponent::FQueryTerminate Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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