The OPENDLGOPTIONS_PTK structure provides load option information for PTK file formats. This information will be used by the L_SetPTKOptions function.
typedef struct _OPENDLGOPTIONS_PTK
{
L_UINT uStructSize;
FILEPTKOPTIONS PTKOptions;
} OPENDLGOPTIONS_PTK, * LPOPENDLGOPTIONS_PTK;
Size of this structure, in bytes. Use the sizeof
operator to calculate this value.
A FILEPTKOPTIONS structure that contains the load options for a PTK file.
The L_DlgOpen function displays the Open dialog and gets options for the L_LoadFile function. After the user presses the Open button on the dialog, one or more OPENDLGFILEDATA structures will be updated based on the file(s) selected in the Open dialog. The OPENDLGFILEDATA.FileOptions
member is an OPENDLGOPTIONS structure. This structure is updated based on the file type(s) selected in the Open dialog. If the OPENDLGOPTIONS.nType member is FILE_PTK
, the OPENDLGOPTIONS.pOptions
member will point to an OPENDLGOPTIONS_PTK
structure, which is, in turn, updated with the PTK load options.