_com_ptr_t::Detach
Microsoft Specific
Extracts and returns the encapsulated interface pointer.
Syntax
Interface* Detach( ) throw( );
Remarks
Extracts and returns the encapsulated interface pointer, and then clears the encapsulated pointer storage to NULL. This removes the interface pointer from encapsulation. It is up to you to call Release
on the returned interface pointer.
END Microsoft Specific
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for