CDC::operator HDC
Use this operator to retrieve the device context handle of the CDC object.
operator HDC( ) const;
Возвращаемое значение
If successful, the handle of the device context object; otherwise, NULL.
Заметки
You can use the handle to call Windows APIs directly.
Требования
Header: afxwin.h