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

Concepts

CHandle Class

CHandle Members

CHandle::Attach