shell学习简介
2007-04-13 14:37
260 查看
Shell:
进程:Explorer.exe
组件
1.Program manager //ListView 和Header control组成
2.Taskbar
3.Desktop
桌面上的图标只是ListView显示的一些内容
Shell extension
是将自己代码让Explorer.exe来执行
Shell extension有两点
1.shell view extension
2.namespace extension
Shell的编程方式:
1.API //let you access the basix functionality of the shell
2.COM //approach springs into life
Shell
Shell由folder组成
1.namespace
the collection of all folders is called the shell's namespace
a.ordinary folders(file folders)
b.custom folders
2.file object
file object is not always a file,a file is a file object
file object is elements of folder
how to identify each item in shell's namespace?
path like files(c:/program file/network.txt)?
and others like network disk?
a general way of identifying its items is needed.
3.PIDLs
PIDL -the acronym stands for poiter to an identifer list
Drive/Directoty/File/Ext--------->Path Name
| | | |
Item Item Item Item
ID ID ID ID ---->ITEMIDLIST
ITEMID(cb,..)
the next element in the list can be calculated by adding cb bytes to the address of
the current SHITEMID object
注册表中的项用ITEMIDLIST 表示
PITEMIDLIST--->ITEMID(KH_CLS_ROOT)--ITEMID(/htmlfile)--ITEM(DefaultValue)
hook --- a piece of code
进程:Explorer.exe
组件
1.Program manager //ListView 和Header control组成
2.Taskbar
3.Desktop
桌面上的图标只是ListView显示的一些内容
Shell extension
是将自己代码让Explorer.exe来执行
Shell extension有两点
1.shell view extension
2.namespace extension
Shell的编程方式:
1.API //let you access the basix functionality of the shell
2.COM //approach springs into life
Shell
Shell由folder组成
1.namespace
the collection of all folders is called the shell's namespace
a.ordinary folders(file folders)
b.custom folders
2.file object
file object is not always a file,a file is a file object
file object is elements of folder
how to identify each item in shell's namespace?
path like files(c:/program file/network.txt)?
and others like network disk?
a general way of identifying its items is needed.
3.PIDLs
PIDL -the acronym stands for poiter to an identifer list
Drive/Directoty/File/Ext--------->Path Name
| | | |
Item Item Item Item
ID ID ID ID ---->ITEMIDLIST
ITEMID(cb,..)
the next element in the list can be calculated by adding cb bytes to the address of
the current SHITEMID object
注册表中的项用ITEMIDLIST 表示
PITEMIDLIST--->ITEMID(KH_CLS_ROOT)--ITEMID(/htmlfile)--ITEM(DefaultValue)
hook --- a piece of code
相关文章推荐
- 【Linux学习笔记】Shell 基础(1) — Shell简介
- 【Shell脚本学习1】Shell简介:什么是Shell,Shell命令的两种执行方式
- Linux之shell脚本学习(1)简介和变量
- Shell特殊变量大全: $0, $#, $*, $@, $?, $$,$!,$- 简介.$@ $*对比详解 -- shell学习
- 【Shell脚本学习1】Shell简介:什么是Shell,Shell命令的两种执行方式
- Linux Shell编程学习笔记一:shell简介
- Linux之Shell学习(一)Shell简介
- shenll学习整理(1)-shell简介
- linux shell学习笔记(一)shell简介
- Android学习 - Shell命令(正则式简介)
- Linux系统命令及Shell脚本学习笔记一:Linux简介
- Shell 学习1 - Shell 简介
- Linux学习笔记6:shell简介与TCP/IP协议
- Shell基础学习(一) Shell简介
- 学习笔记——Linux设备驱动程序——【第一章】设备驱动程序简介(完结)
- Git学习笔记(1)----简介
- 西门子PLC学习笔记一(S7-300简介)
- Python学习笔记(零)-- Python简介
- shell脚本学习笔记(二)—— 引字符号、db2命令选项、date
- 《Power Shell高级编程》学习:第1章 PowerShell简介