MFCOMMENT

Syntax

BOOL Escape(hDC, MFCOMMENT,nCount,lpComment, NULL)

This escape adds a comment to a metafile.

Parameter Type/Description  

hDC HDC Identifies the device context for the device on which the metafile appears.  
nCount short Specifies the number of characters in the string pointed to by the lpComment parameter.  
lpComment LPSTR Points to a string that contains the comment that will appear in the metafile.  

Return Value

The return value specifies the outcome of the escape. It is –1 if an error such as insufficient memory or an invalid port specification occurs. Otherwise, it is positive.