ICCPROFILEDLGPARAMS
typedef struct _ICCPROFILEDLGPARAMS
{
L_UINT uStructSize ;
ICCPROFILEEXT ICCProfile ;
L_TCHAR szLoadFile [ L_MAXPATH
] ;
L_TCHAR szSaveFile [ L_MAXPATH
] ;
L_UINT32 uDlgFlags ;
LTCOMMDLGHELPCB
pfnHelpCallback ;
L_VOID L_FAR
* pHelpCallBackUserData ;
} ICCPROFILEDLGPARAMS, L_FAR* LPICCPROFILEDLGPARAMS
;
The ICCPROFILEDLGPARAMS structure provides information used to initialize the dialog box created by the L_DlgICCProfile function. After the user closes the dialog box, this structure is updated with information about the user's selections.
Member |
Description |
|
uStructSize |
Size of this structure, in bytes. Use the sizeof operator to calculate this value. |
|
ICCProfile |
A structure that contains the ICC Profile. If this structure contains ICC Profile data the dialog Save button control will be enabled at dialog start up. |
|
szLoadFile |
Character string that contains the name of the file to load ICC Profile from. |
|
szSaveFile |
Character string that contains the name of the file to save ICC Profile to. |
|
uDlgParams |
Flag that determines the layout and action of the dialog. Possible values are: |
|
|
Value |
Meaning |
|
DLG_ICCPROFILE_SHOW_CONTEXTHELP |
[0x00000001] Dialog should contain a context sensitive help icon. |
|
DLG_ICCPROFILE_SHOW_SAVE |
[0x00000002] Dialog should contain Save ICC Profile options. |
|
DLG_ICCPROFILE_SHOW_LOAD |
[0x00000004] Dialog should contain Load ICC Profile options. |
pfnHelpCallback |
Pointer to an optional help callback function. If you do not wish to provide help to this dialog, use NULL as the value of this parameter. To provide help to this dialog, use the function pointer as the value of this parameter. The callback function must adhere to the prototype described in LTCOMMDLGHELPCB. |
pHelpCallBackUserData |
Void pointer that you can use to pass one or more additional parameters that the callback function needs. To use this feature, assign a value to a variable or create a structure that contains as many fields as you need. Then, in this parameter, pass the address of the variable or structure, casting it to L_VOID L_FAR *. The callback function, which receives the address in its own pHelpCallBackUserData parameter, can cast it to a pointer of the appropriate data type to access your variable or structure. If the additional parameters are not needed, you can pass NULL in this parameter. |