E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
WinAPI
SetWindowsHookEx
SetWindowsHookEx将应用程序定义的钩子过程安装到钩子链中.您将安装一个挂钩程序来监视系统的某些类型的事件.这些事件与特定线程或与调用线程在同一桌面中的所有线程相关联.函数声明HHOOK
WINAPI
SetWindowsHookEx
御坂网络
·
2020-04-03 17:14
2.Windows的数据类型
效果源码#includeint
WINAPI
WinMain(HINSTANCEhInstance,HINSTANCEhPrevInstance,LPSTRlpCmdLine,intnCmdShow){//
御坂网络
·
2020-03-21 12:24
创建窗口
{switch(msg){caseWM_CLOSE:PostQuitMessage(0);break;}returnDefWindowProc(hwnd,msg,wParam,lParam);}INT
WINAPI
WinMain
zz张哲
·
2020-03-15 19:46
apicloud 代码记录
拨打电话api.call({type:'tel_prompt',number:'10086'});open
Winapi
.openWin({name:'win_webpage',//页面名称url:'.
Virgo丶淡然
·
2020-03-08 12:48
事件实现同步
#include"stdafx.h"#includeHANDLEg_hSet=NULL;HANDLEg_hClean=NULL;intg_max=10;intg_num=0;DWORD
WINAPI
t1(
Fa1se003
·
2020-03-07 02:44
[Unity 3d] Uni
WinApi
(WindowAPIForUnity) - GitHub
简介:笔者今天推荐的仓库叫Uni
WinApi
,也就是“WindowsAPIForUnity”。这个仓库包含了非常丰富的操作WindowAPI的API。
雨落随风
·
2020-03-04 00:53
如何在控制台程序中监听win32消息机制
处理window消息头文件#include#include回调函数BOOL
WINAPI
ConsoleHandler(DWORDCEvent){switch(CEvent){caseCTRL_C_EVENT
极客七
·
2020-03-02 04:32
windows 定时执行回调函数(C/C++)
用于需要定时执行操作的程序,
WINAPI
的程序;1、设置定时事件MMRESULTtimeSetEvent(UINTuDelay,UINTuResolution,LPTIMECALLBACKfptc,DWORDdwUser
chenzefa
·
2020-02-17 21:02
C++-Dump文件的创建和调试
Dump文件的创建方法Dump文件的调试Release工程下如何生成PDBDump文件的创建方法Windows创建Dump文件的API-MiniDumpWriteDumpBOOL
WINAPI
MiniDumpWriteDump
JasonLiThirty
·
2020-02-12 12:55
adb 使用实例讲解
实现方式:1.解压之后的文件夹下,把adb.exe复制到C:\Windows\SysWOW642.adb
winAPI
.dll放到C:\Windows\
连女传
·
2020-02-11 20:14
加密与解密学习笔记3-Windows与Unicode
Win9x_Unicode.exe例子#include#includeint
WINAPI
WinMain(HINSTANCEhInstance,HINSTANCEhPrevInstance,PSTRszCmdline
鬼谷神僧
·
2020-02-11 17:00
在自己的程序中调用adb和android通讯
需求电脑端需要和手机端通讯分析利用现有的adb通道过程android-sdk目录下有对应的Adb
WinApi
.dll和AdbWinUsbApi.dll自己写个程序去调用这个动态库就可以了头文件:development
King_Karl
·
2020-02-10 13:50
线程同步--事件
//它的源码HANDLE
WINAPI
CreateEventW(__in_optLPSECURITY_ATTRIBUTES
00000000_4571
·
2020-02-08 19:47
Python3使用wmi获取系统信息-以获取硬盘分区为例
在python中使用wmi和在c++中使用并没有太多区别,如果考虑兼容性的话个人还是推荐使用
winapi
方式获取信息,因为xp中默认是不开启wmi的,并且用户或软件可以关闭系统的wmi功能,会出现获取不到数据的情况
时光难逆
·
2020-02-03 17:08
编程
wmi
python3
硬盘信息
实现:win32实现EDIT控件读取和保存
defineHDC_EDIT_10x100#defineHDC_BUTTON_10x101#defineHDC_BUTTON_20x102//全局变量声明HINSTANCEhinst;//函数声明int
WINAPI
WinMain
zpchcbd
·
2020-02-02 20:00
弹窗相关的
winAPI
调用-学习笔记
MessageBoxA/W消息框MessageBoxAPROTO,hWnd:DWORD,;窗口句柄(可以为空)lpText:PTRBYTE,;字符串,对话框内lpCaption:PTRBYTE,;字符串,对话框标题uType:DWORD;内容和行为基于控制台的应用程序可以将hWnd设置为空,表示该消息框没有相关的包含窗口或父窗口。lpText参数是指向空字节结束字符串的指针,该字符串将出现在消息框
b1ing丶
·
2020-01-31 23:00
delphi 文本 记录 流式 读写文件
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 18:00
delphi xml
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 15:00
delphi json
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
delphi http server
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
dac FDMemTable
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
dac oracle
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
dac mssql server
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
dxSkinController1 皮肤使用
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
拷贝文件显示进度条
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋-创新-创造
·
2020-01-09 14:00
WINAPI
和CALLBACK填坑
后来发现是方法中缺少了相应的宏定义
WINAPI
,正确的定义为:void
WINAPI
caller(callbackfunmyfun1,param2,...,paramN)其中,
WINAPI
和CALL
晓川君
·
2020-01-07 15:08
内存映射 读和写
//读unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes
书搞进脑袋
·
2020-01-07 15:00
delphpi tcp 服务和客户端 例子
//服务器端unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes
书搞进脑袋
·
2020-01-07 15:00
Delphi调用c++写的dll (me)
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋
·
2020-01-07 15:00
字节的合并
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
志存高远学上北大
·
2020-01-07 14:00
字节的合并
unitUnit1;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Variants,System.Classes,
书搞进脑袋
·
2020-01-07 14:00
模拟CRC达到反调试的目的
#include#include#include#includeusingnamespacestd;intgTotal;//校验总和DWORD
WINAPI
ThreadFunc(LPVOIDlpParam
OneTrainee
·
2019-12-31 20:00
IOCP模型与网络编程
windows上通讯模型,把socket的阻塞函数,如recv改成完成端口的来完成.基本的思路,创建一个线程池来作为工作者线程,然后线程的处理函数是接收/转发数据.server*//*所用到的函数:HANDLE
WINAPI
CreateIoCompletionPort
天狼战士
·
2019-12-21 14:00
webrtc rtcp
RTCP报文接收和解析DWORD
WINAPI
ThreadWindows::StartThread(void*param)voidThreadWindows::Run()boolUdpSocket2WorkerWindows
ai___believe
·
2019-12-21 00:25
学习:反调试之IsDebuggerPresent
语法BOOL
WINAPI
IsDebuggerPresent(void);参数该函数没有参数返回值如果当前进程运行在调试器的上下文,返回值为非零值。如果当前进程没有运行在调试器的上下文,返回值是零。
zpchcbd
·
2019-12-20 23:00
一些反调试代码
#define_WIN32_WINNT0x0601#include#includetypedefBOOL(
WINAPI
*LPAPI_IDP)(VOID);LONG
WINAPI
MyUnhandledExceptionFilter
御坂网络
·
2019-12-11 18:01
Delphi自带风格管理器TStyleManager
做个笔记记录一下第一步代码如下unitStyleManager;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Var
阿丽塔
·
2019-11-30 12:00
Delphi自带风格管理器TStyleManager
做个笔记记录一下第一步代码如下unitStyleManager;interfaceuses
Winapi
.Windows,
Winapi
.Messages,System.SysUtils,System.Var
阿丽塔
·
2019-11-30 12:00
我用 C 语言做过有意思的事
以下程序用MFC做,都是可以用c语言+
winapi
做,不过是我以前学C++就用C++做而已。自动关机。有用C做的,不输入“我是SB”就关机的程序;学了MFC后,写了有界面的。
YongHao
·
2019-11-06 21:08
简单的任务管理器,可以关闭进程
ImportsSystem.Runtime.InteropServicesImportsSystem.DiagnosticsImportsSystem.IOModule
winapi
FunctionGetWindowThreadProcessId
御坂网络
·
2019-11-04 07:09
C++ Portable Timing
defined_INC_
WINAPI
FAMILY)#include#endif#endifclassStopWatch{
Brent姜
·
2019-11-03 04:54
windows 程序运行原理
HWNDhwnd,UINTuMsg,WPARAMwparam,LPARAMlParam){returnDefWindowProc(hwnd,uMsg,wparam,lParam);}//入口函数int
WINAPI
WinMain
2e8e58815eec
·
2019-11-01 20:16
2.4 Unicode 与 ANSI 字节编码
结果源码#includeint
WINAPI
WinMain(HINSTANCEhInstance,HINSTANCEhPrevInstance,LPSTRlpCmdLine,intnCmdShow){//
御坂网络
·
2019-10-31 17:49
16-Linux軟件運行和編輯
:Windows與Linux不兼容ELF(ExecutableandLinkableFormat)PE(PortableExecutable)庫級別的虛擬化:Linux:WINEWindows:Cyg
winAPI
dushansao
·
2019-10-17 11:53
Linux
9-1 软件包管理
ApplicationBinaryInterfaceWindows与Linux不兼容ELF(ExecutableandLinkableFormat)PE(PortableExecutable)库级别的虚拟化:Linux:WINEWindows:Cyg
winAPI
kjalbert
·
2019-10-14 22:00
C++获取系统错误代码以及相应的错误信息
其函数原型如下:DWORD
WINAPI
GetLastError(VOID);通过该函数获取的仅仅是错误代码,想要知道具体原因还需要查找该返回错误码所对应的错误信息。
笨小孩要多学习
·
2019-10-02 00:48
C/C++
利用
WinAPI
进行串口通信编程
转载于:https://blog.csdn.net/L_Andy/article/details/51131232转载只为了方便查找,希望大家从源连接进行查看!总结来看串口通信原理,(也可以说大多数通信原理也是如此)。通信首先要有个通信,可以简单的把通信看成一个小桶,发送方住水桶里装水,接收方从水桶中取水。如果你要和对方通信首先需要将桶盖打开,再将水装入到桶中,这时接收方才能够从桶中取到水。这里就
SilenceHell
·
2019-09-26 18:06
串口编程
C++软件添加dump调试打印日志(推荐)
C++软件添加dump调试打印日志(推荐)#include#pragmacomment(lib,"dbghelp.lib")LONG
WINAPI
TopLevelExceptionFilter(struct_EXCEPTION_POINTERS
·
2019-09-25 06:58
VC定时器的用法实例详解
具体用法分析如下:定时器在VC中的使用频繁,其原型为:复制代码代码如下:WINUSERAPIUINT
WINAPI
SetTimer(HWNDhWnd,UINTnIDEvent,UINTuElapse,TIMERPROClpTimerFunc
·
2019-09-25 01:05
C++基于hook iat改变Messagebox实例
具体方法如下:步骤:1.定义原始函数类型的写法复制代码代码如下://定义函数原型typedefint(
WINAPI
*PFNMESSAGEBOX)(HWNDhWnd,LPCTSTRlpText,LPCTSTRlpCaption
·
2019-09-25 01:02
上一页
19
20
21
22
23
24
25
26
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他