易语言桌面Toasts消息源码
系统结构:取整数型指针,取文本型指针,取字节集指针,CLSIDToString,StringToCLSID,A2W,W2A,CoCreateInstance,ThrowError,GetStructId,Check_Repair,取类数组指针,切换类数组指针,取变量地址_整数数组,取整数型内存,写到内存_整数型,写到内存_短整数型,写到内存_字节型,GetCLSMethod,GetCLSMethodCounts,GetCodeLength,GetCodeSub_1,GetCodeSub_2,try_,try_exit,try_done,CallCOM,GetThisRef,reset,getBaseThis,setBaseThis,getCallIndex,setCallIndex,setMethodCounts,getMethodCounts,getMethods,setMethods,reVtbl,getVtblAddr,setVtbl1,pushCode,VirtualProtect,IsBadCodePtr,IsBadReadPtr,GetProcessHeap,MessageBeep,RtlAllocateHeap,RtlFreeHeap,VtblToPoint,MultiByteToWideChar,WideCharToMultiByte,CLSIDFromString,StringFromCLSID,CoInitialize,CoUninitialize,CoCreateInstance_,Initialize,RunMessageLoop,WndProc,DisplayToast,CreateToast,CreateToastXml,SetImageSrc,SetTextValues,SetNodeValueString,L,SUCCEEDED,LOWORD,COM_ToastEventHandler,AppendChild,get_Attributes,GetNamedItem,TryCreateShortcut,指针到整数,取字节集指针,取文本型指针,get_Reason,QueryInterface,AddRef,Release,GetIids,GetRuntimeClassName,GetTrustLevel,创建自Unicode字符,创建自Ansi字符,取句柄,取长度,是否为空,取Unicode字符,清除,SetArguments,SetPath,SetValue,Commit,Save,ActivatedEventHandler,DismissedEventHandler,FailedEventHandler,置指针,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,置指针,取指针,get_Doctype,get_Implementation,get_DocumentElement,CreateElement,CreateDocumentFragment,CreateTextNode,CreateComment,CreateProcessingInstruction,CreateAttribute,CreateEntityReference,GetElementsByTagName,CreateCDataSection,get_DocumentUri,CreateAttributeNS,CreateElementNS,GetElementById,ImportNode,置指针,get_Length,Item,RoInitialize,RoUninitialize,MultiByteToWideChar,WindowsCreateString,WindowsDeleteString,WindowsGetStringLen,WindowsIsStringEmpty,RoGetActivationFactory,WindowsGetStringRawBuffer,GetModuleFileName,CoCreateInstance,SHStrDup,RtlMoveMemory,MessageBox,CoTaskMemAlloc,CoTaskMemFree,ZeroMemory,GetModuleHandle,LoadIcon,LoadCursor,RegisterClassEx,CreateWindowEx,GetMessage,TranslateMessage,DispatchMessage,DefWindowProc,PostQuitMessage,SendMessage,SetForegroundWindow,ShowWindow,
======Main
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |------ 取整数型指针
| |
| |------ 取文本型指针
| |
| |------ 取字节集指针
| |
| |------ CLSIDToString
| |
| |------ StringToCLSID
| |
| |------ A2W
| |
| |------ W2A
| |
| |------ CoCreateInstance
| |
| |
======Kernel
| |
| |------ ThrowError
| |
| |------ GetStructId
| |
| |------ Check_Repair
| |
| |------ 取类数组指针
| |
| |------ 切换类数组指针
| |
| |------ 取变量地址_整数数组
| |
| |------ 取整数型内存
| |
| |------ 写到内存_整数型
| |
| |------ 写到内存_短整数型
| |
| |------ 写到内存_字节型
| |
| |------ GetCLSMethod
| |
| |------ GetCLSMethodCounts
| |
| |------ GetCodeLength
| |
| |------ GetCodeSub_1
| |
| |------ GetCodeSub_2
| |
| |------ try_
| |
| |------ try_exit
| |
| |------ try_done
| |
| |
======CallCOMHelper
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ CallCOM
| |
| |------ GetThisRef
| |
| |
======COMHelperStruct
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ reset
| |
| |------ getBaseThis
| |
| |------ setBaseThis
| |
| |------ getCallIndex
| |
| |------ setCallIndex
| |
| |------ setMethodCounts
| |
| |------ getMethodCounts
| |
| |------ getMethods
| |
| |------ setMethods
| |
| |------ reVtbl
| |
| |------ getVtblAddr
| |
| |------ setVtbl1
| |
| |------ pushCode
| |
| |
======调用的Dll
| |
| |---[dll]------ VirtualProtect
| |
| |---[dll]------ IsBadCodePtr
| |
| |---[dll]------ IsBadReadPtr
| |
| |---[dll]------ GetProcessHeap
| |
| |---[dll]------ MessageBeep
| |
| |---[dll]------ RtlAllocateHeap
| |
| |---[dll]------ RtlFreeHeap
| |
| |---[dll]------ VtblToPoint
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ WideCharToMultiByte
| |
| |---[dll]------ CLSIDFromString
| |
| |---[dll]------ StringFromCLSID
| |
| |---[dll]------ CoInitialize
| |
| |---[dll]------ CoUninitialize
| |
| |---[dll]------ CoCreateInstance_
======程序集
| |
| |------ _启动子程序
| |
| |------ Initialize
| |
| |------ RunMessageLoop
| |
| |------ WndProc
| |
| |------ DisplayToast
| |
| |------ CreateToast
| |
| |------ CreateToastXml
| |
| |------ SetImageSrc
| |
| |------ SetTextValues
| |
| |------ SetNodeValueString
| |
| |------ L
| |
| |------ SUCCEEDED
| |
| |------ LOWORD
| |
| |------ COM_ToastEventHandler
| |
| |------ AppendChild
| |
| |------ get_Attributes
| |
| |------ GetNamedItem
| |
| |------ TryCreateShortcut
| |
| |------ 指针到整数
| |
| |------ 取字节集指针
| |
| |------ 取文本型指针
| |
| |------ get_Reason
| |
| |
======IUnknown
| |
| |------ QueryInterface
| |
| |------ AddRef
| |
| |------ Release
| |
| |
======IInspectable
| |
| |------ GetIids
| |
| |------ GetRuntimeClassName
| |
| |------ GetTrustLevel
| |
| |
======HString
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 创建自Unicode字符
| |
| |------ 创建自Ansi字符
| |
| |------ 取句柄
| |
| |------ 取长度
| |
| |------ 是否为空
| |
| |------ 取Unicode字符
| |
| |------ 清除
| |
| |
======ShellLinkHelper
| |
| |------ SetArguments
| |
| |------ SetPath
| |
| |------ SetValue
| |
| |------ Commit
| |
| |------ Save
| |
| |
======ToastEventHandler
| |
| |------ _QueryInterface
| |
| |------ _AddRef
| |
| |------ _Release
| |
| |------ ActivatedEventHandler
| |
| |------ DismissedEventHandler
| |
| |------ FailedEventHandler
| |
| |
======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
| |
| |
======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
| |
| |
======调用的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]------ MessageBox
| |
| |---[dll]------ CoTaskMemAlloc
| |
| |---[dll]------ CoTaskMemFree
| |
| |---[dll]------ ZeroMemory
| |
| |---[dll]------ GetModuleHandle
| |
| |---[dll]------ LoadIcon
| |
| |---[dll]------ LoadCursor
| |
| |---[dll]------ RegisterClassEx
| |
| |---[dll]------ CreateWindowEx
| |
| |---[dll]------ GetMessage
| |
| |---[dll]------ TranslateMessage
| |
| |---[dll]------ DispatchMessage
| |
| |---[dll]------ DefWindowProc
| |
| |---[dll]------ PostQuitMessage
| |
| |---[dll]------ SendMessage
| |
| |---[dll]------ SetForegroundWindow
| |
| |---[dll]------ ShowWindow
调用的DLL命令:
.DLL命令 VirtualProtect, 逻辑型
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 flNewProtect, 整数型
.参数 lpflOldProtect, 整数型, 传址
.DLL命令 IsBadCodePtr, 逻辑型
.参数 lpfn, 整数型
.DLL命令 IsBadReadPtr, 逻辑型
.参数 lp, 整数型
.参数 ucb, 整数型
.DLL命令 GetProcessHeap, 整数型
.DLL命令 MessageBeep, 逻辑型
.参数 uType, 整数型
.DLL命令 RtlAllocateHeap, 整数型, "ntdll.dll"
.参数 hHeap, 整数型
.参数 dwFlags, 整数型
.参数 dwBytes, 整数型
.DLL命令 RtlFreeHeap, 逻辑型, "ntdll.dll"
.参数 hHeap, 整数型
.参数 dwFlags, 整数型
.参数 lpMem, 整数型
.DLL命令 VtblToPoint, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 MultiByteToWideChar, 整数型
.参数 CodePage, 整数型
.参数 dwFlags, 整数型
.参数 lpMultiByteStr, 文本型, 传址
.参数 cbMultiByte, 整数型
.参数 lpWideCharStr, 字节集, 传址
.参数 cchWideChar, 整数型
.DLL命令 WideCharToMultiByte, 整数型
.参数 CodePage, 整数型
.参数 dwFlags, 整数型
.参数 lpWideCharStr, 整数型
.参数 cchWideChar, 整数型
.参数 lpMultiByteStr, 文本型, 传址
.参数 cbMultiByte, 整数型
.参数 lpDefaultChar, 文本型
.参数 lpUsedDefaultChar, 逻辑型
.DLL命令 CLSIDFromString, 整数型, "ole32.dll"
.参数 lpsz, 字节集, 传址
.参数 pclsid, 字节集, 传址
.DLL命令 StringFromCLSID, 整数型, "ole32.dll"
.参数 rclsid, 字节集
.参数 ppsz, 整数型, 传址
.DLL命令 CoInitialize, 整数型, "ole32.dll", , 公开
.参数 pvReserved, 整数型
.DLL命令 CoUninitialize, , "ole32.dll", , 公开
.DLL命令 CoCreateInstance_, 整数型, "ole32.dll", "CoCreateInstance"
.参数 rclsid, 字节集
.参数 pUnkOuter, 整数型
.参数 dwClsContext, 整数型
.参数 riid, 字节集
.参数 ppv, 对象
调用的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命令 MessageBox, 整数型, "user32.dll", "MessageBoxA"
.参数 hwnd, 整数型
.参数 lpText, 文本型
.参数 lpCaption, 文本型
.参数 wType, 整数型
.DLL命令 CoTaskMemAlloc, 整数型, "ole32.dll", "CoTaskMemAlloc"
.参数 cb, 整数型
.DLL命令 CoTaskMemFree, , "ole32.dll", "CoTaskMemFree"
.参数 pv, 整数型
.DLL命令 ZeroMemory, , "kernel32.dll", "RtlZeroMemory"
.参数 Destination, 整数型
.参数 Length, 整数型
.DLL命令 GetModuleHandle, 整数型, "kernel32.dll", "GetModuleHandleA"
.参数 lpModuleName, 整数型
.DLL命令 LoadIcon, 整数型, "user32.dll", "LoadIconA"
.参数 hInstance, 整数型
.参数 lpIconName, 整数型
.DLL命令 LoadCursor, 整数型, "user32.dll", "LoadCursorA"
.参数 hInstance, 整数型
.参数 lpCursorName, 整数型
.DLL命令 RegisterClassEx, 整数型, "user32.dll", "RegisterClassExA"
.参数 pcWndClassEx, WNDCLASSEX
.DLL命令 CreateWindowEx, 整数型, "user32.dll", "CreateWindowExA"
.参数 dwExStyle, 整数型
.参数 lpClassName, 文本型
.参数 lpWindowName, 文本型
.参数 dwStyle, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 nWidth, 整数型
.参数 nHeight, 整数型
.参数 hWndParent, 整数型
.参数 hMenu, 整数型
.参数 hInstance, 整数型
.参数 lpParam, 整数型
.DLL命令 GetMessage, 逻辑型, "user32.dll", "GetMessageA"
.参数 lpMsg, MSG
.参数 hWnd, 整数型
.参数 wMsgFilterMin, 整数型
.参数 wMsgFilterMax, 整数型
.DLL命令 TranslateMessage, 整数型, "user32.dll", "TranslateMessage"
.参数 lpMsg, MSG
.DLL命令 DispatchMessage, 整数型, "user32.dll", "DispatchMessageA"
.参数 lpMsg, MSG
.DLL命令 DefWindowProc, 整数型, "user32.dll", "DefWindowProcA"
.参数 hWnd, 整数型
.参数 Msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 PostQuitMessage, , "user32.dll", "PostQuitMessage"
.参数 nExitCode, 整数型
.DLL命令 SendMessage, 整数型, "user32.dll", "SendMessageA"
.参数 hWnd, 整数型
.参数 Msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 文本型
.DLL命令 SetForegroundWindow, 逻辑型, "user32.dll", "SetForegroundWindow"
.参数 hWnd, 整数型
.DLL命令 ShowWindow, 整数型, "user32.dll", "ShowWindow"
.参数 hWnd, 整数型
.参数 nCmdShow, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。