'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->