易语言Toast类模块源码
系统结构:显示通知,CreateToast,CreateToastXml,SetImageSrc,SetTextValues,SetNodeValueString,L,指针到整数,SUCCEEDED,FAILED,AppendChild,get_Attributes,GetNamedItem,TryCreateShortcut,取变量数据地址_字节集,取变量数据地址_文本型,QueryInterface,AddRef,Release,GetIids,GetRuntimeClassName,GetTrustLevel,CreateToastNotifier,CreateToastNotifierWithId,GetTemplateContent,Show,Hide,get_Setting,AddToSchedule,RemoveFromSchedule,GetScheduledToastNotifications,CreateToastNotification,get_Content,put_ExpirationTime,get_ExpirationTime,add_Dismissed,remove_Dismissed,add_Activated,remove_Activated,add_Failed,remove_Failed,创建自Unicode字符,创建自Ansi字符,取句柄,取长度,是否为空,取Unicode字符,清除,get_Doctype,get_Implementation,get_DocumentElement,CreateElement,CreateDocumentFragment,CreateTextNode,CreateComment,CreateProcessingInstruction,CreateAttribute,CreateEntityReference,GetElementsByTagName,CreateCDataSection,get_DocumentUri,CreateAttributeNS,CreateElementNS,GetElementById,ImportNode,get_Length,Item,SetArguments,SetPath,SetValue,Commit,Save,ActivatedEventHandler,DismissedEventHandler,FailedEventHandler,RoInitialize,RoUninitialize,MultiByteToWideChar,WindowsCreateString,WindowsDeleteString,WindowsGetStringLen,WindowsIsStringEmpty,RoGetActivationFactory,WindowsGetStringRawBuffer,GetModuleFileName,CoCreateInstance,SHStrDup,RtlMoveMemory,VirtualAlloc,VirtualFree,GlobalAlloc,GlobalFree,RtlMoveMemory__,RtlMoveMemory_INT,LocalSize,CLSIDFromString,MessageBox,
======程序集1
| |
| |------ _启动子程序
| |
| |------ 显示通知
| |
| |------ CreateToast
| |
| |------ CreateToastXml
| |
| |------ SetImageSrc
| |
| |------ SetTextValues
| |
| |------ SetNodeValueString
| |
| |------ L
| |
| |------ 指针到整数
| |
| |------ SUCCEEDED
| |
| |------ FAILED
| |
| |------ AppendChild
| |
| |------ get_Attributes
| |
| |------ GetNamedItem
| |
| |------ TryCreateShortcut
| |
| |------ 取变量数据地址_字节集
| |
| |------ 取变量数据地址_文本型
| |
| |
======IUnknown
| |
| |------ QueryInterface
| |
| |------ AddRef
| |
| |------ Release
| |
| |
======IInspectable
| |
| |------ GetIids
| |
| |------ GetRuntimeClassName
| |
| |------ GetTrustLevel
| |
| |
======IToastNotificationManagerStatics
| |
| |------ CreateToastNotifier
| |
| |------ CreateToastNotifierWithId
| |
| |------ GetTemplateContent
| |
| |
======IToastNotifier
| |
| |------ Show
| |
| |------ Hide
| |
| |------ get_Setting
| |
| |------ AddToSchedule
| |
| |------ RemoveFromSchedule
| |
| |------ GetScheduledToastNotifications
| |
| |
======IToastNotificationFactory
| |
| |------ CreateToastNotification
| |
| |
======IToastNotification
| |
| |------ get_Content
| |
| |------ put_ExpirationTime
| |
| |------ get_ExpirationTime
| |
| |------ add_Dismissed
| |
| |------ remove_Dismissed
| |
| |------ add_Activated
| |
| |------ remove_Activated
| |
| |------ add_Failed
| |
| |------ remove_Failed
| |
| |
======HString
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 创建自Unicode字符
| |
| |------ 创建自Ansi字符
| |
| |------ 取句柄
| |
| |------ 取长度
| |
| |------ 是否为空
| |
| |------ 取Unicode字符
| |
| |------ 清除
| |
| |
======IXmlDocument
| |
| |------ get_Doctype
| |
| |------ get_Implementation
| |
| |------ get_DocumentElement
| |
| |------ CreateElement
| |
| |------ CreateDocumentFragment
| |
| |------ CreateTextNode
| |
| |------ CreateComment
| |
| |------ CreateProcessingInstruction
| |
| |------ CreateAttribute
| |
| |------ CreateEntityReference
| |
| |------ GetElementsByTagName
| |
| |------ CreateCDataSection
| |
| |------ get_DocumentUri
| |
| |------ CreateAttributeNS
| |
| |------ CreateElementNS
| |
| |------ GetElementById
| |
| |------ ImportNode
| |
| |
======IXmlNodeList
| |
| |------ get_Length
| |
| |------ Item
| |
| |
======ShellLinkHelper
| |
| |------ SetArguments
| |
| |------ SetPath
| |
| |------ SetValue
| |
| |------ Commit
| |
| |------ Save
| |
| |
======ToastEventHandler
| |
| |------ _QueryInterface
| |
| |------ _AddRef
| |
| |------ _Release
| |
| |------ ActivatedEventHandler
| |
| |------ DismissedEventHandler
| |
| |------ FailedEventHandler
| |
| |
======类1
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |
======调用的Dll
| |
| |---[dll]------ RoInitialize
| |
| |---[dll]------ RoUninitialize
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ WindowsCreateString
| |
| |---[dll]------ WindowsDeleteString
| |
| |---[dll]------ WindowsGetStringLen
| |
| |---[dll]------ WindowsIsStringEmpty
| |
| |---[dll]------ RoGetActivationFactory
| |
| |---[dll]------ WindowsGetStringRawBuffer
| |
| |---[dll]------ GetModuleFileName
| |
| |---[dll]------ CoCreateInstance
| |
| |---[dll]------ SHStrDup
| |
| |---[dll]------ RtlMoveMemory
| |
| |---[dll]------ VirtualAlloc
| |
| |---[dll]------ VirtualFree
| |
| |---[dll]------ GlobalAlloc
| |
| |---[dll]------ GlobalFree
| |
| |---[dll]------ RtlMoveMemory__
| |
| |---[dll]------ RtlMoveMemory_INT
| |
| |---[dll]------ LocalSize
| |
| |---[dll]------ CLSIDFromString
| |
| |---[dll]------ MessageBox
调用的DLL命令:
.DLL命令 RoInitialize, 整数型, "combase.dll", "RoInitialize"
.参数 initType, 整数型
.DLL命令 RoUninitialize, , "combase.dll", "RoUninitialize"
.DLL命令 MultiByteToWideChar, 整数型, "kernel32.dll", "MultiByteToWideChar"
.参数 CodePage, 整数型
.参数 dwFlags, 整数型
.参数 lpMultiByteStr, 文本型, 传址
.参数 cbMultiByte, 整数型
.参数 lpWideCharStr, 字节集, 传址
.参数 cchWideChar, 整数型
.DLL命令 WindowsCreateString, 整数型, "combase.dll", "WindowsCreateString"
.参数 sourceString, 字节集, 传址
.参数 length, 整数型
.参数 string, 整数型, 传址
.DLL命令 WindowsDeleteString, 整数型, "combase.dll", "WindowsDeleteString"
.参数 string, 整数型
.DLL命令 WindowsGetStringLen, 整数型, "combase.dll", "WindowsGetStringLen"
.参数 string, 整数型
.DLL命令 WindowsIsStringEmpty, 逻辑型, "combase.dll", "WindowsIsStringEmpty"
.参数 string, 整数型
.DLL命令 RoGetActivationFactory, 整数型, "combase.dll", "RoGetActivationFactory"
.参数 activatableClassId, 整数型
.参数 iid, 字节集, 传址
.参数 factory, 整数型, 传址
.DLL命令 WindowsGetStringRawBuffer, 整数型, "combase.dll", "WindowsGetStringRawBuffer"
.参数 string, 整数型
.参数 length, 整数型, 传址
.DLL命令 GetModuleFileName, 整数型, "kernel32.dll", "GetModuleFileNameA"
.参数 hModule, 整数型
.参数 lpFileName, 文本型
.参数 nSize, 整数型
.DLL命令 CoCreateInstance, 整数型, "ole32.dll", "CoCreateInstance"
.参数 rclsid, 字节集, 传址
.参数 pUnkOuter, 整数型
.参数 dwClsContext, 整数型
.参数 riid, 字节集, 传址
.参数 ppv, 整数型, 传址
.DLL命令 SHStrDup, 整数型, "shlwapi.dll", "SHStrDupW"
.参数 pszSource, 字节集
.参数 ppwsz, 整数型, 传址
.DLL命令 RtlMoveMemory, , "kernel32.dll", "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 字节集, 传址
.参数 Length, 整数型
.DLL命令 VirtualAlloc, 整数型, "kernel32.dll", "VirtualAlloc"
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 flAllocationType, 整数型
.参数 flProtect, 整数型
.DLL命令 VirtualFree, 逻辑型, "kernel32.dll", "VirtualFree"
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 dwFreeType, 整数型
.DLL命令 GlobalAlloc, 整数型, "kernel32.dll", "GlobalAlloc"
.参数 uFlags, 整数型
.参数 dwBytes, 整数型
.DLL命令 GlobalFree, 整数型, "kernel32.dll", "GlobalFree"
.参数 hMem, 整数型
.DLL命令 RtlMoveMemory__, , "kernel32.dll", "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, ToastEventHandler, 传址
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_INT, , "kernel32.dll", "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 整数型, 传址
.参数 Length, 整数型
.DLL命令 LocalSize, 整数型, "kernel32", "LocalSize"
.参数 hMem, ToastEventHandler
.DLL命令 CLSIDFromString, , "ole32.dll", "CLSIDFromString"
.参数 lpsz, 字节集
.参数 pclsid, 字节集, 传址
.DLL命令 MessageBox, 整数型, "user32.dll", "MessageBoxA"
.参数 hwnd, 整数型
.参数 lpText, 文本型
.参数 lpCaption, 文本型
.参数 wType, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。