Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disassociates the current HandleT object from its underlying handle.
typename HandleTraits::Type Detach();
Return Value
The underlying handle.
Remarks
When this operation completes, the current HandleT is set to the invalid state.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers