TerGetRtfDocInfo
Retrieve the header information about the document.
int TerGetRtfDocInfo(hWnd, type, text)
HWND hWnd; | The handle of the window to be accessed |
int type; | Information type. Use one of the following constants: |
INFO_TITLE | Document title |
INFO_SUBJECT | Subject |
INFO_AUTHOR | Author |
INFO_MANAGER | Manager |
INFO_COMPANY | Company |
INFO_OPERATOR | Operator |
INFO_CATEGORY | Category |
INFO_KEYWORDS | Keywords |
INFO_COMMENT | Comment |
INFO_DOCCOMM | Additional comment |
INFO_HLINKBASE | Hyperlink base path |
LPBYTE text; | (output) Information text. Set to NULL to simply retrieve the length of the information text. |
Return Value: When successful, this function returns the length of the information text, otherwise it returns 0. It also returns the information text using the 'text' argument.