pvarOption
[in, optional] The Pointer to set options.
This parameter can be a combination of the following options, plus the options indicated in the Remarks section. Also, Default value is CUXLDEN_FILE_ATTRIBUTE_NORMAL
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED,
and E_FAIL, as well as the following:
S_OK
Method completed successfully.
Remarks
If you use CUXLDEN_FILE_ATTRIBUTE_NORMAL, the
default download window should be displayed for downloading.
Option Constant
Value
CUXLDEN_FILE_ATTRIBUTE_NORMAL
0x00000000
CUXLDEN_FILE_ATTRIBUTE_HIDEUI
0x00000001
CUXLDEN_FILE_ATTRIBUTE_HIDDEN
0x00000002
CUXLDEN_FILE_ATTRIBUTE_SEQUENCE
0x00000004
CUXLDEN_FILE_ATTRIBUTE_TEMPORARY
0x00000008
CUXLDEN_FILE_ATTRIBUTE_RUN
0x00000010
Option Style
Description
CUXLDEN_FILE_ATTRIBUTE_NORMAL
Default Value.
CUXLDEN_FILE_ATTRIBUTE_HIDEUI
Turn off default download window
CUXLDEN_FILE_ATTRIBUTE_HIDDEN
The target download file is hidden style on the file system.
CUXLDEN_FILE_ATTRIBUTE_SEQUENCE
The target download file should be saved by sequential operation.
CUXLDEN_FILE_ATTRIBUTE_TEMPORARY
The target download file is being used for temporary storage. File systems avoid
writing data back to mass storage if sufficient cache memory is available, because
an application deletes a temporary file after a handle is closed. In that case,
the system can entirely avoid writing the data. Otherwise, the data is written after
the handle is closed.
CUXLDEN_FILE_ATTRIBUTE_RUN
If the target download file is finished, shell open the file automatically.