1、IsWow64Process确定指定进程是否运行在64位操作系统的32环境(Wow64)下。语法BOOL WINAPI IsWow64Process( __in HANDLE hProcess, __out PBOOL Wow64Process );参数 hProcess 进程句柄...
分类:
其他好文 时间:
2014-08-08 12:08:15
阅读次数:
281
BOOL WINAPI WinHttpAddRequestHeaders( _In_ HINTERNET hRequest, _In_ LPCWSTR pwszHeaders, _In_ DWORD dwHeadersLength, _In_ DWORD dwModifiers);作用:加入一个HT...
1、使用FindWindow函数获取窗口句柄示例:使用FindWindow函数获取窗口句柄,然后获得窗口大小,并且移动窗口到指定位置。我们想获得酷我音乐盒的窗口句柄并移动它,该怎么办呢?首先打开VC或者VS里面tool中的SPY++点击查找窗口如下:PS:把那个靶心似的的东西移动到想查找的窗口上,这...
Sender和Tag的用法 在它们共同的OnClick事件下返回单击的那个按钮的标题 unit Unit1;interfaceusesWinapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, ...
分类:
其他好文 时间:
2014-08-01 10:33:51
阅读次数:
221
在使用SetWindowsHookEx的过程中遇到的问题函数原型HHOOK WINAPI SetWindowsHookEx( _In_ int idHook, _In_ HOOKPROC lpfn, _In_ HINSTANCE hMod, _In_ DWORD dwThreadId...
注意:CreateFile 跟 fopen 不同,打开文件时不区分 文本方式 或 二进制 方式ReadFile 或 WriteFile 都是对二进制数据进行操作HANDLE WINAPI CreateFile( __in LPCTSTR lpFileName, ...
分类:
其他好文 时间:
2014-07-29 21:26:12
阅读次数:
236
如何背景透明 unit Unit1;interfaceusesWinapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,Vcl.Controls, Vcl.Forms...
分类:
其他好文 时间:
2014-07-29 20:54:52
阅读次数:
230
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl...
分类:
其他好文 时间:
2014-07-29 20:34:42
阅读次数:
207
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs;type TForm1 = class(TForm) procedure Form....
HANDLE WINAPI CreateRemoteThread(__in HANDLE hProcess,__in LPSECURITY_ATTRIBUTES lpThreadAttributes,__in SIZE_T dwStackSize,__in LPTHREAD_STAR...
分类:
编程语言 时间:
2014-07-20 21:31:14
阅读次数:
355