易语言载入内存FLASH源码
系统结构:创建,取窗口句柄,移动,左边,顶边,宽度,高度,置对象,取对象,释放对象,取ReadyState,取TotalFrames,取Playing,置Playing,取Quality,置Quality,取ScaleMode,置ScaleMode,取AlignMode,置AlignMode,取BackgroundColor,置BackgroundColor,取Loop,置Loop,取Movie,置Movie,取FrameNum,置FrameNum,CurrentFrame方法,IsPlaying方法,PercentLoaded方法,FrameLoaded方法,FlashVersion方法,取WMode,置WMode,取SAlign,置SAlign,取Menu,置Menu,取Base,置Base,取Scale,置Scale,取DeviceFont,置DeviceFont,取EmbedMovie,置EmbedMovie,取BGColor,置BGColor,取Quality2,置Quality2,TCurrentFrame方法,TCurrentLabel方法,GetVariable方法,TGetProperty方法,TGetPropertyNum方法,TGetPropertyAsNumber方法,取SWRemote,置SWRemote,取FlashVars,置FlashVars,取AllowScriptAccess,置AllowScriptAccess,取MovieData,置MovieData,取InlineData,置InlineData,取SeamlessTabbing,置SeamlessTabbing,取Profile,置Profile,取ProfileAddress,置ProfileAddress,取ProfilePort,置ProfilePort,CallFunction方法,取AllowNetworking,置AllowNetworking,取AllowFullScreen,置AllowFullScreen,LoadMemSwf,NewCreateFile,InstallAPIHook,UninstallAPIHook,GetAPIHookInfo,控件初始化名,自定义控件名,移动控件窗口,创建控件窗口,VirtualProtect,LoadLibrary,GetProcAddress,CloseHandle,CreateNamedPipe,CreatePipe,WriteFile,RtlComputeCrc32,CreateFile,GetModuleHandleA,子程序指针到整数,RtlMoveMemory,CreateFileA,
======FLASH模块
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |
======FLASH播放器
| |
| |------ 创建
| |
| |------ _初始化
| |
| |------ 取窗口句柄
| |
| |------ _销毁
| |
| |------ 移动
| |
| |------ 左边
| |
| |------ 顶边
| |
| |------ 宽度
| |
| |------ 高度
| |
| |------ 置对象
| |
| |------ 取对象
| |
| |------ 释放对象
| |
| |------ 取ReadyState
| |
| |------ 取TotalFrames
| |
| |------ 取Playing
| |
| |------ 置Playing
| |
| |------ 取Quality
| |
| |------ 置Quality
| |
| |------ 取ScaleMode
| |
| |------ 置ScaleMode
| |
| |------ 取AlignMode
| |
| |------ 置AlignMode
| |
| |------ 取BackgroundColor
| |
| |------ 置BackgroundColor
| |
| |------ 取Loop
| |
| |------ 置Loop
| |
| |------ 取Movie
| |
| |------ 置Movie
| |
| |------ 取FrameNum
| |
| |------ 置FrameNum
| |
| |------ CurrentFrame方法
| |
| |------ IsPlaying方法
| |
| |------ PercentLoaded方法
| |
| |------ FrameLoaded方法
| |
| |------ FlashVersion方法
| |
| |------ 取WMode
| |
| |------ 置WMode
| |
| |------ 取SAlign
| |
| |------ 置SAlign
| |
| |------ 取Menu
| |
| |------ 置Menu
| |
| |------ 取Base
| |
| |------ 置Base
| |
| |------ 取Scale
| |
| |------ 置Scale
| |
| |------ 取DeviceFont
| |
| |------ 置DeviceFont
| |
| |------ 取EmbedMovie
| |
| |------ 置EmbedMovie
| |
| |------ 取BGColor
| |
| |------ 置BGColor
| |
| |------ 取Quality2
| |
| |------ 置Quality2
| |
| |------ TCurrentFrame方法
| |
| |------ TCurrentLabel方法
| |
| |------ GetVariable方法
| |
| |------ TGetProperty方法
| |
| |------ TGetPropertyNum方法
| |
| |------ TGetPropertyAsNumber方法
| |
| |------ 取SWRemote
| |
| |------ 置SWRemote
| |
| |------ 取FlashVars
| |
| |------ 置FlashVars
| |
| |------ 取AllowScriptAccess
| |
| |------ 置AllowScriptAccess
| |
| |------ 取MovieData
| |
| |------ 置MovieData
| |
| |------ 取InlineData
| |
| |------ 置InlineData
| |
| |------ 取SeamlessTabbing
| |
| |------ 置SeamlessTabbing
| |
| |------ 取Profile
| |
| |------ 置Profile
| |
| |------ 取ProfileAddress
| |
| |------ 置ProfileAddress
| |
| |------ 取ProfilePort
| |
| |------ 置ProfilePort
| |
| |------ CallFunction方法
| |
| |------ 取AllowNetworking
| |
| |------ 置AllowNetworking
| |
| |------ 取AllowFullScreen
| |
| |------ 置AllowFullScreen
| |
| |
======窗口程序集1
| |
| |------ _窗口1_创建完毕
| |
| |------ LoadMemSwf
| |
| |------ _窗口1_尺寸被改变
| |
| |------ NewCreateFile
| |
| |
======APIHOOK
| |
| |------ InstallAPIHook
| |
| |------ UninstallAPIHook
| |
| |------ GetAPIHookInfo
| |
| |
======调用的Dll
| |
| |---[dll]------ 控件初始化名
| |
| |---[dll]------ 自定义控件名
| |
| |---[dll]------ 移动控件窗口
| |
| |---[dll]------ 创建控件窗口
| |
| |---[dll]------ VirtualProtect
| |
| |---[dll]------ LoadLibrary
| |
| |---[dll]------ GetProcAddress
| |
| |---[dll]------ CloseHandle
| |
| |---[dll]------ CreateNamedPipe
| |
| |---[dll]------ CreatePipe
| |
| |---[dll]------ WriteFile
| |
| |---[dll]------ RtlComputeCrc32
| |
| |---[dll]------ CreateFile
| |
| |---[dll]------ GetModuleHandleA
| |
| |---[dll]------ 子程序指针到整数
| |
| |---[dll]------ RtlMoveMemory
| |
| |---[dll]------ CreateFileA
调用的DLL命令:
.DLL命令 控件初始化名, , "atl.dll", "AtlAxWinInit"
.DLL命令 自定义控件名, 整数型, "atl.dll", "AtlAxGetControl"
.参数 h
.参数 x, 对象
.DLL命令 移动控件窗口, 整数型, "user32.dll", "MoveWindow"
.参数 窗口句柄, 整数型, , hwnd,欲移动窗口的句柄
.参数 左侧位置, 整数型, , x,窗口新的左侧位置
.参数 顶部位置, 整数型, , y,窗口新的顶部位置
.参数 新宽度, 整数型, , nWidth,窗口的新宽度
.参数 高宽度, 整数型, , nHeight,窗口的高宽度
.参数 是否重画, 逻辑型, , bRepaint,如窗口此时应重画,则设为TRUE(非零)
.DLL命令 创建控件窗口, 整数型, "user32.dll", "CreateWindowExA"
.参数 扩展风格, 整数型
.参数 类名, 文本型, , 刚才注册的类名
.参数 窗口标题, 文本型
.参数 风格, 整数型
.参数 屏幕横坐标, 整数型
.参数 屏幕纵坐标, 整数型
.参数 宽度, 整数型
.参数 高度, 整数型
.参数 父窗口句柄, 整数型, , 没有就写0
.参数 菜单句柄, 整数型
.参数 模块句柄, 整数型
.参数 参数, 整数型
.DLL命令 VirtualProtect, 整数型, "kernel32", "VirtualProtect"
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 flNewProtect, 整数型
.参数 lpflOldProtect, 整数型, 传址
.DLL命令 LoadLibrary, 整数型, "kernel32", "LoadLibraryA"
.参数 lpLibFileName, 文本型
.DLL命令 GetProcAddress, 整数型, "kernel32", "GetProcAddress"
.参数 hModule, 整数型
.参数 lpProcName, 文本型
.DLL命令 CloseHandle, 整数型, "kernel32", "CloseHandle"
.参数 hObject, 整数型
.DLL命令 CreateNamedPipe, 整数型, "kernel32", "CreateNamedPipeA"
.参数 lpName, 文本型, , 指定管道名,采用的形式是:\\.\管道\管道名。
.参数 dwOpenMode
.参数 dwPipeMode
.参数 nMaxInstances
.参数 nOutBufferSize
.参数 nInBufferSize
.参数 nDefaultTimeOut
.参数 lpSecurityAttributes
.DLL命令 CreatePipe, 整数型, "kernel32", "CreatePipe"
.参数 phReadPipe, 整数型, 传址
.参数 phWritePipe, 整数型, 传址
.参数 lpPipeAttributes, 整数型
.参数 nSize, 整数型
.DLL命令 WriteFile, 整数型, "kernel32", "WriteFile"
.参数 hFile, 整数型
.参数 lpBuffer, 字节集
.参数 nNumberOfBytesToWrite, 整数型
.参数 lpNumberOfBytesWritten, 整数型, 传址
.参数 lpOverlapped, 整数型
.DLL命令 RtlComputeCrc32, 整数型, "ntdll.dll"
.参数 flags, 整数型
.参数 Data, 字节集
.参数 LenData, 整数型
.DLL命令 CreateFile, 整数型, "kernel32", "CreateFileA"
.参数 lpFileName, 文本型
.参数 dwDesiredAccess, 整数型
.参数 dwShareMode, 整数型
.参数 lpSecurityAttributes, 整数型
.参数 dwCreationDisposition, 整数型
.参数 dwFlagsAndAttributes, 整数型
.参数 hTemplateFile, 整数型
.DLL命令 GetModuleHandleA, 整数型
.参数 lpModuleName, 文本型
.DLL命令 子程序指针到整数, 整数型, , "lstrcatA"
.参数 lpString1, 子程序指针, 传址
.参数 lpString2, 整数型, 传址
.DLL命令 RtlMoveMemory, 整数型
.参数 Destination, 整数型
.参数 Source, 字节集, 传址
.参数 Length, 整数型
.DLL命令 CreateFileA, 整数型, , "CreateFileA"
.参数 lpFileName, 文本型
.参数 dwDesiredAccess
.参数 dwShareMode
.参数 lpSecurityAttributes
.参数 dwCreationDisposition
.参数 dwFlagsAndAttributes
.参数 hTemplateFile
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。