Share via


ContextInfo2::GetApplicationInstanceId-Methode (comsvcs.h)

Ruft die GUID der Anwendung instance des aktuellen Objektkontexts ab.

Diese Informationen sind z. B. bei der Verwendung von COM+-Anwendungsrecycling nützlich.

Syntax

HRESULT GetApplicationInstanceId(
  [out] BSTR *__MIDL__ContextInfo20002
);

Parameter

[out] __MIDL__ContextInfo20002

Ein Verweis auf die Anwendung instance Bezeichners.

Rückgabewert

Diese Methode kann die Standardrückgabewerte E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL und S_OK zurückgeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows XP [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2003 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile comsvcs.h

Weitere Informationen

ContextInfo2