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 |
); |
Parameters
Return Values
This method supports the standard return values E_FAIL and E_OUTOFMEMORY, as well as the following:
Remarks
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.