OPENDLGOPTIONS

typedef struct _OPENDLGOPTIONS
{
   L_UINT uStructSize ;
   L_INT nType ;
   LPVOID pOptions ;
} OPENDLGOPTIONS, * LPOPENDLGOPTIONS ;

The OPENDLGOPTIONS structure provides information on load options, entered through the dialog, to the OPENDLGFILEDATA structure.

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

nType

Constant that indicates the type of file being opened. The type of file being opened also indicates the type of structure pointed to by pOptions. For a list of possible values, refer to Formats of Input Files.

pOptions

Pointer to a structure to be updated with information entered by the user through the dialog. The type of file, specified in the nType member indicates the type of structure pointed to by pOptions. For more information about the possible structures, refer to OPENDLGOPTIONS_PCD, OPENDLGOPTIONS_PDF, OPENDLGOPTIONS_RASTERMISC, OPENDLGOPTIONS_METAFILE, OPENDLGOPTIONS_VECTORMISC, OPENDLGOPTIONS_DXF, OPENDLGOPTIONS_PLT, and OPENDLGOPTIONS_XPS. You should free this pointer using the GlobalFree function. If the file type selected in the dialog does not correspond to one of the structures listed above, this member will be updated with NULL.