Returns the Windows GDI handle of the picture managed within this picture object to a specified location.
HRESULT get_Handle(
OLE_HANDLE* phandle //Receives a pointer to GDI handle
);
This method supports the standard return values E_FAIL and E_OUTOFMEMORY, as well as the following:
The picture object may retain ownership of the picture; however, the caller can be assured that the picture will remain valid until either the caller specifically destroys the picture or the picture object is itself destroyed. The fOwn parameter to OleCreatePictureIndirect determines ownership when the picture object is created. OleLoadPicture forces fOwn to TRUE.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.