VAPIMWP_CANCONVERT
Determines whether a file can be converted to another format. This is a parameter of the VAPIM_CONVERT
message.
Syntax
#include <kvvapi.h> BOOL bSupported = FALSE; SendMessage(hWndVAPI, VAPIM_CONVERT, VAPIMWP_CANCONVERT, (LPARAM)&bSupported);
Arguments
Argument |
Description |
---|---|
|
The handle of the VAPI window. |
|
A pointer to a Boolean variable. |
Returns
If bSupported
is TRUE
, the file can be converted. If bSupported
is FALSE
, the file cannot be converted.
Discussion
Some file formats, such as PDF, presentation graphics files, and graphics, cannot be converted to RTF. In these cases, use VAPIMWP_CANCONVERT
to check whether conversion is possible.