易语言仿Win10弹出Toast通知源码
系统结构:WndProc,LOWORD,HIWORD,Gdiplus_初始化,Init_SUITypedef_NineGrids,P_SUITypedef_NineGrids,SUIRGBtoARGB,SUIDrawGraphicNineGrids,SUIDrawGraphicAlpha,RPM,Call3P,缓动,getValue,QueryPerformanceSleep,创建,释放,取尺寸,取字节流指针,取内存句柄,置字节流指针,取出字节集,GdiplusStartup,GdiplusShutdown,GetModuleHandle,RegisterClassEx,DefWindowProc,LoadCursor,CreateWindowEx,GetMessage,TranslateMessage,DispatchMessage,GetDC,CreateCompatibleDC,CreateDIBSection,SelectObject,GdipCreateFromHDC,GdipDeleteGraphics,UpdateLayeredWindow,DeleteObject,DeleteDC,ReleaseDC,GdipFillRectangle,GdipCreateSolidFill,GdipGetImageDimension,ZeroMemory,GdipBitmapGetPixel,GdipCreateBitmapFromScan0,GdipGetImageGraphicsContext,GdipSetInterpolationMode,GdipSetPixelOffsetMode,GdipCreateImageAttributes,GdipSetImageAttributesWrapMode,GdipDrawImageRectRect,GdipDisposeImageAttributes,GdipDisposeImage,GdipSetImageAttributesColorMatrix,RtlMoveMemory,GlobalSize,GlobalAlloc,CreateStreamOnHGlobal,GlobalLock,GlobalUnlock,GlobalFree,GetHGlobalFromStream,GdipLoadImageFromStream,GdipDeleteBrush,SendMessage,ScreenToClient,SystemParametersInfo,RtlMoveMemory_RECT,RtlMoveMemory_RECT1,GetWindowRect,RtlMoveMemory_WINDOWPOS,PlaySound,QueryPerformanceFrequency,QueryPerformanceCounter,MoveWindow,PostQuitMessage,
======程序集1
| |
| |------ _启动子程序
| |
| |------ WndProc
| |
| |------ LOWORD
| |
| |------ HIWORD
| |
| |------ Gdiplus_初始化
| |
| |------ Init_SUITypedef_NineGrids
| |
| |------ P_SUITypedef_NineGrids
| |
| |------ SUIRGBtoARGB
| |
| |------ SUIDrawGraphicNineGrids
| |
| |------ SUIDrawGraphicAlpha
| |
| |------ RPM
| |
| |------ Call3P
| |
| |------ 缓动
| |
| |------ getValue
| |
| |------ QueryPerformanceSleep
| |
| |
======IStream
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 创建
| |
| |------ 释放
| |
| |------ 取尺寸
| |
| |------ 取字节流指针
| |
| |------ 取内存句柄
| |
| |------ 置字节流指针
| |
| |------ 取出字节集
| |
| |
======调用的Dll
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GdiplusShutdown
| |
| |---[dll]------ GetModuleHandle
| |
| |---[dll]------ RegisterClassEx
| |
| |---[dll]------ DefWindowProc
| |
| |---[dll]------ LoadCursor
| |
| |---[dll]------ CreateWindowEx
| |
| |---[dll]------ GetMessage
| |
| |---[dll]------ TranslateMessage
| |
| |---[dll]------ DispatchMessage
| |
| |---[dll]------ GetDC
| |
| |---[dll]------ CreateCompatibleDC
| |
| |---[dll]------ CreateDIBSection
| |
| |---[dll]------ SelectObject
| |
| |---[dll]------ GdipCreateFromHDC
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ UpdateLayeredWindow
| |
| |---[dll]------ DeleteObject
| |
| |---[dll]------ DeleteDC
| |
| |---[dll]------ ReleaseDC
| |
| |---[dll]------ GdipFillRectangle
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipGetImageDimension
| |
| |---[dll]------ ZeroMemory
| |
| |---[dll]------ GdipBitmapGetPixel
| |
| |---[dll]------ GdipCreateBitmapFromScan0
| |
| |---[dll]------ GdipGetImageGraphicsContext
| |
| |---[dll]------ GdipSetInterpolationMode
| |
| |---[dll]------ GdipSetPixelOffsetMode
| |
| |---[dll]------ GdipCreateImageAttributes
| |
| |---[dll]------ GdipSetImageAttributesWrapMode
| |
| |---[dll]------ GdipDrawImageRectRect
| |
| |---[dll]------ GdipDisposeImageAttributes
| |
| |---[dll]------ GdipDisposeImage
| |
| |---[dll]------ GdipSetImageAttributesColorMatrix
| |
| |---[dll]------ RtlMoveMemory
| |
| |---[dll]------ GlobalSize
| |
| |---[dll]------ GlobalAlloc
| |
| |---[dll]------ CreateStreamOnHGlobal
| |
| |---[dll]------ GlobalLock
| |
| |---[dll]------ GlobalUnlock
| |
| |---[dll]------ GlobalFree
| |
| |---[dll]------ GetHGlobalFromStream
| |
| |---[dll]------ GdipLoadImageFromStream
| |
| |---[dll]------ GdipDeleteBrush
| |
| |---[dll]------ SendMessage
| |
| |---[dll]------ ScreenToClient
| |
| |---[dll]------ SystemParametersInfo
| |
| |---[dll]------ RtlMoveMemory_RECT
| |
| |---[dll]------ RtlMoveMemory_RECT1
| |
| |---[dll]------ GetWindowRect
| |
| |---[dll]------ RtlMoveMemory_WINDOWPOS
| |
| |---[dll]------ PlaySound
| |
| |---[dll]------ QueryPerformanceFrequency
| |
| |---[dll]------ QueryPerformanceCounter
| |
| |---[dll]------ MoveWindow
| |
| |---[dll]------ PostQuitMessage
调用的DLL命令:
.DLL命令 GdiplusStartup, 整数型, "gdiplus.dll", "GdiplusStartup"
.参数 token, 整数型, 传址
.参数 inputbuf, GdiplusStartupInput
.参数 outputbuf, 整数型
.DLL命令 GdiplusShutdown, , "gdiplus.dll", "GdiplusShutdown"
.参数 token, 整数型
.DLL命令 GetModuleHandle, 整数型, "kernel32.dll", "GetModuleHandleA"
.参数 lpModuleName, 整数型
.DLL命令 RegisterClassEx, 整数型, "user32.dll", "RegisterClassExA"
.参数 pcWndClassEx, WNDCLASSEX
.DLL命令 DefWindowProc, 整数型, "user32.dll", "DefWindowProcA"
.参数 hWnd, 整数型
.参数 Msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 LoadCursor, 整数型, "user32.dll", "LoadCursorA"
.参数 hInstance, 整数型
.参数 lpCursorName, 整数型
.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命令 GetDC, 整数型, "user32.dll", "GetDC"
.参数 hWnd, 整数型
.DLL命令 CreateCompatibleDC, 整数型, "gdi32.dll", "CreateCompatibleDC"
.参数 hdc, 整数型
.DLL命令 CreateDIBSection, 整数型, "gdi32.dll", "CreateDIBSection"
.参数 hdc, 整数型
.参数 pbmi, BITMAPINFO
.参数 iUsage, 整数型
.参数 ppvBits, 整数型
.参数 hSection, 整数型
.参数 dwOffset, 整数型
.DLL命令 SelectObject, 整数型, "gdi32.dll", "SelectObject"
.参数 hdc, 整数型
.参数 hObject, 整数型
.DLL命令 GdipCreateFromHDC, 整数型, "gdiplus.dll", "GdipCreateFromHDC"
.参数 hdc, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GdipDeleteGraphics, 整数型, "gdiplus.dll", "GdipDeleteGraphics"
.参数 graphics, 整数型
.DLL命令 UpdateLayeredWindow, 整数型, "user32.dll", "UpdateLayeredWindow"
.参数 hWnd, 整数型
.参数 hdcDst, 整数型
.参数 pptDst, 整数型
.参数 psize, Size
.参数 hdcSrc, 整数型
.参数 pptSrc, POINT
.参数 crKey, 整数型
.参数 pblend, BLENDFUNCTION
.参数 dwFlags, 整数型
.DLL命令 DeleteObject, 逻辑型, "gdi32.dll", "DeleteObject"
.参数 hObject, 整数型
.DLL命令 DeleteDC, 逻辑型, "gdi32.dll", "DeleteDC"
.参数 hdc, 整数型
.DLL命令 ReleaseDC, 逻辑型, "user32.dll", "ReleaseDC"
.参数 hWnd, 整数型
.参数 hdc, 整数型
.DLL命令 GdipFillRectangle, 整数型, "GdiPlus.dll", "GdipFillRectangle"
.参数 graphics, 整数型
.参数 brush, 整数型
.参数 x, 小数型
.参数 y, 小数型
.参数 width, 小数型
.参数 height, 小数型
.DLL命令 GdipCreateSolidFill, 整数型, "GdiPlus.dll", "GdipCreateSolidFill"
.参数 color, 整数型
.参数 brush, 整数型, 传址
.DLL命令 GdipGetImageDimension, 整数型, "GdiPlus.dll", "GdipGetImageDimension"
.参数 image, 整数型
.参数 width, 小数型, 传址
.参数 height, 小数型, 传址
.DLL命令 ZeroMemory, , "kernel32.dll", "RtlZeroMemory"
.参数 Destination, 整数型
.参数 Length, 整数型
.DLL命令 GdipBitmapGetPixel, 整数型, "GdiPlus.dll", "GdipBitmapGetPixel"
.参数 bitmap, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 color, 整数型, 传址
.DLL命令 GdipCreateBitmapFromScan0, 整数型, "gdiplus.dll", "GdipCreateBitmapFromScan0"
.参数 Width, 整数型
.参数 Height, 整数型
.参数 stride, 整数型
.参数 PixelFormat, 整数型
.参数 scan0, 整数型
.参数 bitmap, 整数型, 传址
.DLL命令 GdipGetImageGraphicsContext, 整数型, "gdiplus.dll", "GdipGetImageGraphicsContext"
.参数 image, 整数型
.参数 graphics, 整数型, 传址
.DLL命令 GdipSetInterpolationMode, 整数型, "gdiplus.dll", "GdipSetInterpolationMode"
.参数 graphics, 整数型
.参数 interpolation, 整数型
.DLL命令 GdipSetPixelOffsetMode, 整数型, "gdiplus.dll", "GdipSetPixelOffsetMode"
.参数 graphics, 整数型
.参数 pixelOffsetMode, 整数型
.DLL命令 GdipCreateImageAttributes, 整数型, "gdiplus.dll", "GdipCreateImageAttributes"
.参数 imageattr, 整数型, 传址
.DLL命令 GdipSetImageAttributesWrapMode, 整数型, "gdiplus.dll", "GdipSetImageAttributesWrapMode"
.参数 imageattr, 整数型
.参数 wrap, 整数型
.参数 argb, 整数型
.参数 bClamp, 整数型
.DLL命令 GdipDrawImageRectRect, 整数型, "gdiplus.dll", "GdipDrawImageRectRect"
.参数 graphics, 整数型
.参数 Image, 整数型
.参数 dstX, 小数型
.参数 dstY, 小数型
.参数 dstWidth, 小数型
.参数 dstHeight, 小数型
.参数 srcx, 小数型
.参数 srcy, 小数型
.参数 srcwidth, 小数型
.参数 srcheight, 小数型
.参数 srcUnit, 整数型
.参数 imageAttributes, 整数型
.参数 callback, 整数型
.参数 callbackData, 整数型
.DLL命令 GdipDisposeImageAttributes, 整数型, "gdiplus.dll", "GdipDisposeImageAttributes"
.参数 imageattr, 整数型
.DLL命令 GdipDisposeImage, 整数型, "gdiplus.dll", "GdipDisposeImage"
.参数 image, 整数型
.DLL命令 GdipSetImageAttributesColorMatrix, 整数型, "gdiplus.dll", "GdipSetImageAttributesColorMatrix"
.参数 imageattr, 整数型
.参数 ClrAdjType, 整数型
.参数 enableFlag, 整数型
.参数 colourMatrix, 小数型, 数组
.参数 grayMatrix, 小数型, 数组
.参数 flags, 整数型
.DLL命令 RtlMoveMemory, 整数型, "kernel32.dll", "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 字节集
.参数 Length, 整数型
.DLL命令 GlobalSize, 整数型, "kernel32.dll", "GlobalSize"
.参数 hMem, 整数型
.DLL命令 GlobalAlloc, 整数型, "kernel32.dll", "GlobalAlloc"
.参数 wFlags, 整数型
.参数 dwBytes, 整数型
.DLL命令 CreateStreamOnHGlobal, , "ole32.dll", "CreateStreamOnHGlobal"
.参数 hGlobal, 整数型
.参数 fDeleteOnRelease, 整数型
.参数 ppstm, 整数型, 传址
.DLL命令 GlobalLock, 整数型, "kernel32.dll", "GlobalLock"
.参数 hMem, 整数型
.DLL命令 GlobalUnlock, 整数型, "kernel32.dll", "GlobalUnlock"
.参数 hMem, 整数型
.DLL命令 GlobalFree, 整数型, "kernel32.dll", "GlobalFree"
.参数 hMem, 整数型
.DLL命令 GetHGlobalFromStream, , "ole32.dll", "GetHGlobalFromStream"
.参数 pstm, 整数型
.参数 phglobal, 整数型, 传址
.DLL命令 GdipLoadImageFromStream, 整数型, "GdiPlus.dll", "GdipLoadImageFromStream"
.参数 stream, 整数型
.参数 image, 整数型, 传址
.DLL命令 GdipDeleteBrush, 整数型, "GdiPlus.dll", "GdipDeleteBrush"
.参数 brush, 整数型
.DLL命令 SendMessage, 整数型, "user32.dll", "SendMessageA"
.参数 hWnd, 整数型
.参数 Msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 ScreenToClient, 逻辑型, "user32.dll", "ScreenToClient"
.参数 hWnd, 整数型
.参数 lpPoint, POINT
.DLL命令 SystemParametersInfo, 逻辑型, "user32.dll", "SystemParametersInfoA"
.参数 uiAction, 整数型
.参数 uiParam, 整数型
.参数 pvParam, RECT
.参数 fWinIni, 整数型
.DLL命令 RtlMoveMemory_RECT, 整数型, "kernel32.dll", "RtlMoveMemory"
.参数 lpvDest, RECT, 传址
.参数 lpvSource, 整数型
.参数 cbCopy, 整数型
.DLL命令 RtlMoveMemory_RECT1, 整数型, "kernel32.dll", "RtlMoveMemory"
.参数 lpvDest, 整数型
.参数 lpvSource, RECT, 传址
.参数 cbCopy, 整数型
.DLL命令 GetWindowRect, 整数型, "user32.dll", "GetWindowRect"
.参数 hWnd, 整数型
.参数 lpRect, RECT
.DLL命令 RtlMoveMemory_WINDOWPOS, 整数型, "kernel32.dll", "RtlMoveMemory"
.参数 lpvDest, WINDOWPOS, 传址
.参数 lpvSource, 整数型
.参数 cbCopy, 整数型
.DLL命令 PlaySound, 逻辑型, "winmm.dll", "PlaySoundA"
.参数 pszSound, 整数型
.参数 hmod, 整数型
.参数 fdwSound, 整数型
.DLL命令 QueryPerformanceFrequency, 逻辑型, "kernel32.dll", "QueryPerformanceFrequency", ,
.参数 lpFrequency, 长整数型, 传址
.DLL命令 QueryPerformanceCounter, 逻辑型, "kernel32.dll", "QueryPerformanceCounter"
.参数 lpPerformanceCount, 长整数型, 传址
.DLL命令 MoveWindow, 逻辑型, "user32.dll", "MoveWindow"
.参数 hWnd, 整数型
.参数 X, 整数型
.参数 Y, 整数型
.参数 nWidth, 整数型
.参数 nHeight, 整数型
.参数 bRepaint, 逻辑型
.DLL命令 PostQuitMessage, , "user32.dll", "PostQuitMessage"
.参数 nExitCode, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。