Partager via


IOleInPlaceComponentUIManager.FOnUIComponentExitState Method

Definition

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

public:
 int FOnUIComponentExitState(System::UInt32 dwCompRole, System::UInt32 dwStateId, System::UInt32 dwReserved);
public:
 int FOnUIComponentExitState(unsigned int dwCompRole, unsigned int dwStateId, unsigned int dwReserved);
int FOnUIComponentExitState(unsigned int dwCompRole, unsigned int dwStateId, unsigned int dwReserved);
public int FOnUIComponentExitState (uint dwCompRole, uint dwStateId, uint dwReserved);
abstract member FOnUIComponentExitState : uint32 * uint32 * uint32 -> int
Public Function FOnUIComponentExitState (dwCompRole As UInteger, dwStateId As UInteger, dwReserved As UInteger) As Integer

Parameters

dwCompRole
UInt32

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

dwStateId
UInt32

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

dwReserved
UInt32

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

Returns

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.

Applies to