Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The latest version of this topic can be found at ComPtr::AsWeak Method.
Retrieves a weak reference to the current object.
Syntax
HRESULT AsWeak(
_Out_ WeakRef* pWeakRef
);
Parameters
pWeakRef
When this operation completes, a pointer to a weak reference object.
Return Value
S_OK if successful; otherwise, an HRESULT that indicates the error.
Requirements
Header: client.h
Namespace: Microsoft::WRL