【 tulaoshi.com - 编程语言 】
'ShellTrayFunctions
DeclareFunctionShell_NotifyIconLib"shell32.dll"Alias"Shell_NotifyIconA"(ByValdwMessageAsLong,lpDataAsNOTIFYICONDATA)AsLong
dwMessage参数:NIM_ADD添加指定的图标
NIM_DELETE删除指定的图标
NIM_MODIFY修改指定的图标
lpData参数:NOTIFYICONDATA,这个结构的内容因dwMessage参数而异。
DeclareFunctionSHGetFileInfoLib"shell32.dll"Alias"SHGetFileInfoA"(ByValpszPathAsString,ByValdwFileAttributesAsLong,psfiAsSHFILEINFO,ByValcbFileInfoAsLong,ByValuFlagsAsLong)AsLong
DeclareFunctionSHGetNewLinkInfoLib"shell32.dll"Alias"SHGetNewLinkInfoA"(ByValpszLinktoAsString,ByValpszDirAsString,ByValpszNameAsString,pfMustCopyAsLong,ByValuFlagsAsLong)AsLong->