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.
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.
Remarks
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.
Requirements
Header: atlbase.h