This documentation is archived and is not being maintained.

IOleInPlaceComponentUIManager.FOnUIComponentExitState Method

Queries the environment to determine if an in-place VSPackage object remains in a particular state.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int FOnUIComponentExitState (
	[InAttribute] uint dwCompRole,
	[InAttribute] uint dwStateId,
	[InAttribute] uint dwReserved
int FOnUIComponentExitState (
	/** @attribute InAttribute() */ UInt32 dwCompRole, 
	/** @attribute InAttribute() */ UInt32 dwStateId, 
	/** @attribute InAttribute() */ UInt32 dwReserved
function FOnUIComponentExitState (
	dwCompRole : uint, 
	dwStateId : uint, 
	dwReserved : uint
) : int



[in] Role of the in-place object in question. For valid dwCompRole values, see OLEROLE.


[in] Identifier representing the state in question. For a list of valid dwStateId values, see _OLECSTATE.


[in] Reserved for future use. Must be set to 0.

Return Value

If the in-place object in question is still in the state represented by dwStateId, it returns true. If the in-place object is no longer in the state, it returns false.