Indicates the general class to which the currently opened document belongs. This is a parameter of the VAPIM_INIT message.
#include <kvvapi.h> SendMessage(hWndVAPI, VAPIM_INIT, VAPIMWP_INIT_GETDOCCLASS, (LPARAM) (int*) lpnClass );
|
Argument |
Description |
|---|---|
|
|
The handle of the VAPI window. |
|
|
A pointer to an integer that returns the document class:
|
SendMessage() returns TRUE if successful (that is, if lpnClass contains valid information); otherwise it returns FALSE.
|
|