Export (0) Print
Expand All

CHandle::Attach 

Call this method to attach the CHandle object to an existing handle.


void Attach(
   HANDLE h 
) throw( );

Parameters

h

CHandle will take ownership of the handle h.

Assigns the CHandle object to the h handle. In debugs builds, an ATLASSERT will be raised if h is NULL. No other check as to the validity of the handle is made.

Community Additions

ADD
Show:
© 2014 Microsoft