IOleInPlaceComponentUIManager.FOnUIComponentExitState Method (UInt32, UInt32, UInt32)

 

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 Microsoft.VisualStudio.Shell.Interop.dll)

int FOnUIComponentExitState(
	uint dwCompRole,
	uint dwStateId,
	uint dwReserved
)

Parameters

dwCompRole
Type: System.UInt32

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

dwStateId
Type: System.UInt32

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

dwReserved
Type: System.UInt32

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

Return Value

Type: System.Int32

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.

Return to top
Show: