Open generic function
OLE-part-draw obj hDC rect => status
<ole-in-process-server>.
<HDC>.
<LPRECTL>.
<HRESULT>.
OLE-Server
OLE-Server
In-process servers must implement this method to draw all of the document window display to the given device context, hDC (an instance of <HDC>), scaled and translated to fit within the given rectangle, rect (an instance of <LPRECTL>).
The image drawn by this is what is displayed by the container when the server is no longer active. Normally, this method should return $S-OK but it is possible to return an error status code that will be reported back to the container program.