Share via


CHandle::Detach

Call this method to detach a handle from a CHandle object.

HANDLE Detach( ) throw( );

Return Value

Returns the handle being detached.

Remarks

Releases ownership of the handle.

Requirements

Header: atlbase.h

See Also

Reference

CHandle Class

CHandle::Attach

Other Resources

CHandle Members