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
使用
WINAPI
安装Windows服务
using system; using system.runtime.interopservices; namespace myserviceinstaller { class serviceinstaller { #region private variables private string _servicepath;
·
2015-10-31 13:29
windows
D3DXMatrixShadow 函数
定义: D3DXMATRIX *
WINAPI
D3DXMatrixShadow( D3DXMATRIX
·
2015-10-31 12:15
Matrix
C#做外挂
step 1:认识
WINAPI
windows系统里提供了很多的函数,我们如果做外挂的话,就需要用到其中的函数(以下简称API)。(废话:这些API被封装在系统路径下的DLL文件里。
·
2015-10-31 12:23
C#
WinAPI
: CallNextHookEx - 调用下一个钩子
CallNextHookEx( hhk: HHOOK; {当前钩子的句柄} nCode: Integer; {钩子代码; 就是给下一个钩子要交待的} wParam: WPARAM; {要传递的参数; 由钩子类型决定是什么参数} lParam: LPARAM {要传递的参数; 由钩子类型决定是什么参数} ): LRESULT; {会返回下一个钩子执
·
2015-10-31 11:17
call
WinAPI
: SetWindowsHookEx - 设置钩子
提示: 如果要设置系统级钩子, 钩子函数必须在 DLL 中. SetWindowsHookEx( idHook: Integer; {钩子类型} lpfn: TFNHookProc; {函数指针} hmod: HINST; {包含钩子函数的模块(EXE、DLL)句柄; 一般是 HInstance; 如果是当前线程这里可以是 0} dwThreadId
·
2015-10-31 11:17
windows
短时间内快速获取随机数的方法
<windows.h> #include <iostream> using namespace std; //#define USE_QUICK_RAND DWORD
WINAPI
·
2015-10-31 11:17
获取随机数
XP系统遍历所有进程
下面给出了关于这三个函数的原形和参数说明;HANDLE
WINAPI
CreateToolhelp32Snapshot(
·
2015-10-31 11:29
XP
4---能正常运行的多线程最简单模型
gt; char buffer[100] = { 'x' , 'y' , 'z' }; int W_A=0,R_A=0;//子线程函数 1 DWORD
WINAPI
·
2015-10-31 11:21
多线程
2---多线程文件读写
; #include <stdio.h> #include <windows.h> //子线程函数 1 DWORD
WINAPI
·
2015-10-31 11:21
文件读写
(C++)后台运行一个swf文件,不显示flash player窗口
基本的思路是这样的: 1、使用
WinAPI
CreateProcess 创建一个进程,进程运行flash player,并且参数指定运行哪个swf文件。 2、在参数中指定该进程不显示窗口。
·
2015-10-31 11:33
Flash
通过
winApi
由文件名,获取文件图标
1 [DllImport("Shell32.dll")] 2 static extern int SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbFileInfo, uint uFlags); 3 4 stru
·
2015-10-31 11:22
api
新浪技术面试题
#include <stdio.h> #include <windows.h> int n=0; HANDLE hEvent; DWORD
WINAPI
ThreadFunc
·
2015-10-31 11:16
面试题
多线程
一个简单的多线程程序 #include <Windows.h> #include <iostream> using namespace std; DWORD
WINAPI
·
2015-10-31 11:22
多线程
线程同步
解决的办法是使用互斥对象Mutex #include <Windows.h> #include <iostream> using namespace std; DWORD
WINAPI
·
2015-10-31 11:22
线程同步
int APIENTRY WinMain与int WiINAPI WinMain 及int CALLBACK WinMain是一样的
今天写线程函数时,发现msdn中对ThreadProc的定义有要求:DWORD
WINAPI
ThreadProc(LPVOID lpParameter); 不解为什么要用
WINAPI
宏定义,查了后发现下面的定义
·
2015-10-31 11:46
callback
windows多线程编程CreateThread,_beginthead(_beginthreadex)和AfxBeginThread的区别
下面先介绍各个函数的用法: CreateThread: 函数原型: HANDLE
WINAPI
CreateThread( _in LPSECURITY_
·
2015-10-31 11:27
windows
VC Debug 小技巧——伪符号
我们在调用WINDOWS函数的时候,经常要在后面加一条GetLastError()来取得函数出错的错误码以及原因, 如果在调试的状态中,
WINAPI
出错了,那我们又要停下来,加一句
·
2015-10-31 11:47
debug
D3D常用函数备份
D3DXCOLOR* D3DXColorAdd //两个颜色的组合值D3DXCOLOR*
WINAPI
D3DXColorAdjustContrast( //调整颜色对比度D3DXCOLOR
·
2015-10-31 11:03
常用函数
关于HeapCreate(1)
/library/aa366599(VS.85).aspx 不过要注意以下几点: 1 申请的私有内存只能被调用进程(就是call这个api的进程)使用 2 HANDLE
WINAPI
·
2015-10-31 11:00
create
【DirectX】D3D中基本图形绘制(总结)
IDirect3D*
WINAPI
Direct3DCreate9( UINT SDKVersion  
·
2015-10-31 11:04
总结
用文件映射(File Mapping)实现进程间内存共享
用到的几个windows API函数: 函数CreateFileMapping、MapViewOfFile声明如下: WINBASEAPI __out HANDLE
WINAPI
·
2015-10-31 11:03
mapping
D3DXPlaneFromPoints 函数
定义: D3DXPLANE *
WINAPI
D3DXPlaneFromPoints(
·
2015-10-31 11:02
poi
D3DXVec3TransformCoord 函数
定义: D3DXVECTOR3 *
WINAPI
D3DXVec3TransformCoord( &
·
2015-10-31 11:02
transform
D3DXVec3TransformNormal and D3DXVec3TransformCoord
定义: D3DXVECTOR3 *
WINAPI
D3DXVec3TransformCoord(
·
2015-10-31 11:02
transform
MFC中,什么是CALLBACK函数,什么是
WINAPI
函数,二者有什么区别和联系?
WINAPI
和CALLBACK这两个宏有什么区别呢?_stdcall _cdecl _pascal _fastcall这些关键字是什么意思,有什么区别呢?
·
2015-10-31 11:37
callback
多线程基础 Fir
nbsp; 所有的线程必须从一个指定的函数开始执行,此函数即为线程函数 DWORD
WINAPI
·
2015-10-31 11:04
多线程
音频编码解码器库 libZPlay
库本身是由
WINAPI
编写,你无须额外的库,也不需要MFC / .NET的支持,只能在Windows下运行。 库直接对声卡播放音乐,简单容易。仅仅3行代码(创建类,打开文件,开始播放
·
2015-10-31 11:15
play
线程通信:Alertable IO
代码: //回调函数,什么也不做 static void
WINAPI
ApcFun(ULONG_PTR) { // do nothing here } //线程体,等待两个事件
·
2015-10-31 11:13
table
LoadImage()使用
该系统被定义: WINUSERAPIHANDLE
WINAPI
LoadImageA( HINSTANCE, LPCSTR, 
·
2015-10-31 10:54
image
C#做游戏外挂
step 1:认识
WINAPI
windows系统里提供了很多的函数,我们如果做外挂的话,就需要用到其中的函数(以下简称API)。(废话:这些API被封装在系统路径下的DLL文件里。
·
2015-10-31 10:45
C#
C# API 大全
ProgramFiles\MicrosoftVisual Studio .NET\ FrameworkSDK\Samples\ Technologies\ Interop\PlatformInvoke\
WinAPI
s
·
2015-10-31 10:44
api
黑客常用
WinAPI
函数整理
黑客常用
WinAPI
函数整理 之前的博客写了很多关于Windows编程的内容,在Windows环境下的黑客必须熟练掌握底层API编程。
·
2015-10-31 10:48
api
WinAPI
: CopyFileEx
function CopyFileEx( lpExistingFileName: PWideChar; { 源文件 } lpNewFileName: PWideChar; { 新的目标文件 } lpProgressRoutine: TFNProgressRoutine; { 回调函数; 每复制 64K 调用一次 } lpDa
·
2015-10-31 10:11
File
WinAPI
字符及字符串函数(14): CharToOem、OemToChar
CharToOemBuff、OemToCharBuff 与 CharToOem、OemToChar 的区别只是前者可以指定要转换的字符数. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Std
·
2015-10-31 10:45
chart
WinAPI
字符及字符串函数(15): CharNext、CharPrev
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:45
字符串函数
WinAPI
字符及字符串函数(13): lstrcmp、lstrcmpi - 对比串
lstrcmp 区分大小写; lstrcmpi 不区分大小写. 返回值: -1、0、1, 其中 0 表示相同. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type
·
2015-10-31 10:45
字符串函数
WinAPI
字符及字符串函数(4): CharUpperBuff - 把缓冲区中指定数目的字符转大写
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(5): IsCharAlpha - 是否是个字母
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(8): IsCharUpper - 是否是个大写字母
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(9): lstrcat - 合并字符串
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(10): lstrcpy - 复制字符串
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(11): lstrcpyn - 复制字符串, 同时指定要复制的长度
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; proc
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(3): CharUpper - 字符或字符串转大写
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(12): lstrlen - 串长度
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(6): IsCharAlphaNumeric - 是否是个文字(字母或数字)
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinAPI
字符及字符串函数(7): IsCharLower - 是否是个小写字母
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:44
字符串函数
WinApi
: SystemParametersInfo
举例: 更换桌面壁纸 var BmpPath: PChar; begin BmpPath := 'C:\Temp\Test.bmp'; SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, BmpPath, SPIF_UPDATEINIFILE); end; SystemParametersInfo 的参数实在太多
·
2015-10-31 10:43
parameter
WinAPI
字符及字符串函数(1): CharLower - 字符或字符串转小写
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:43
字符串函数
WinAPI
字符及字符串函数(2): CharLowerBuff - 把缓冲区中指定数目的字符转小写
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Butt
·
2015-10-31 10:43
字符串函数
WinAPI
: GetModuleFileName、GetModuleHandle
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; proc
·
2015-10-31 10:37
Module
上一页
34
35
36
37
38
39
40
41
下一页
按字母分类:
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
其他