Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Documentation errata for IViewObject::Draw method


Summary

There are some inconsistencies in the MSDN documentation of the ptd (DVTARGETDEVICE *) and hdcTargetDev in the IViewObject::Draw documentation at the following location:


http://msdn.microsoft.com/en-us/library/windows/desktop/ms688655(v=vs.85).aspx


↑ Back to the top


More Information

If hdcTargetDev is NULL, the function will reflect the ptd parameter passed in. If ptd is NULL, the function will use the screen display context as hdcTargetDev.

Also, if the ptd passed in is invalid for any reason, the function will not use it even if hdcTargetDev is not null.


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2813449
Revision : 1
Created on : 1/7/2017
Published on : 3/29/2013
Exists online : False
Views : 80