- 积分
- 322
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
发表于 2008-11-27 18:31:39
|
显示全部楼层
- typedef struct
- {
- int mode; //0-normal mode, 1-select mode
- int dir_enum; //0x26 by default
- WSHDR* path_to_file; //path to file
- WSHDR* file_name; //put cursor to this file
- int unk5;
- int is_exact_dir;
- int unk7;
- int unk8;
- int unk9;
- int unk10;
- int unk11;
- WSHDR* full_filename;
- int unk13;
- int (*user_handler)(void*); //called in select mode
- void* this_struct_addr;
- int unk16;
- int unk17_26[10];
- }NativeExplorerData;
复制代码
- //by benj9
- // all params: if 0, not applied
- //exp_mode equ 0 ; 0=normal, 1=file selection, 3+4=folder selection
- //exp_def_folder equ 4 ; eg. 1=sound, 9=pictures. 0x26: use folder in st_exp_cust_folder_ws
- //exp_cust_folder_ws equ 8 ; if st_exp_def_folder=0x26, use base folder stored in this ws
- //exp_preselection_ws equ 0xC ; start selection in explorer with file/folder stored in ws
- //exp_lock_navigation equ 0x14 ; if 1, lock navigation with drives and higher folders
- //exp_1 equ 0x20 ; always 1
- //exp_filter_start equ 0x24 ; func checks files/folders to be shown at start
- //exp_dest_ws equ 0x2C ; dest file/folder (if mode >0)
- //exp_filter_scroll equ 0x34 ; func checks files to be shown by scrolling
- //exp_report_csm equ 0x38 ; *csm to report about everything
复制代码 应该是需要修改dir_enum这个参数来打开任意文件夹。 |
|