Before a new document is opened, this frees up any data from a previously opened document. This is a parameter of the VAPIM_DRAW message.
SendMessage(g_hWndVAPI, VAPIM_DRAW, DRAW_SHUTDOWN, 0L );
|
Argument |
Description |
|---|---|
|
|
The handle of the VAPI window |
|
|
|
|
|
|
|
|
Not used, set to |
SendMessage() returns:
VAPI_RETURN_SUCCESS (or TRUE, value 1) if the call succeeds.VAPI_RETURN_NOT_INITIALIZED (value 5) if the drawing routines have not been initialized.VAPI_RETURN_ERROR (or FALSE, value 0) if the call fails.VAPIM_DRAW messages are used in the sample drawdemo program.
|
|