MFCOMMENT

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

The MFCOMMENT printer escape adds a comment to a metafile.

Parameters

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. This value is –1 if an error, such as insufficient memory or an invalid port specification, occurs. Otherwise, it is positive.