1 BOOL CreateFileDemo(TCHAR* pFileName, DWORD dwSize) 2 { 3 HANDLE hFile; 4 HANDLE hMapFile; 5 6 hFile = CreateFile( 7 pFileName...
分类:
其他好文 时间:
2014-07-29 21:09:42
阅读次数:
212
{turn monitor off}SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 2); //关闭显示器{turn monitor on}SendMessage(Application.Handle, WM_SYSCO...
分类:
其他好文 时间:
2014-07-29 20:51:22
阅读次数:
274
关键点
控制滚动条在最下面 实现过程 SendMessage(form1.Memo1.Handle,WM_VSCROLL,SB_BOTTOM,0); 图 备注 相关链接 来自为知笔记(Wiz)
分类:
其他好文 时间:
2014-07-29 20:44:32
阅读次数:
167
procedure TForm1.FormShow(Sender: TObject);begin ShowWindow(Application.handle, SW_HIDE); SetWindowLong(Self.handle, GWL_EXSTYLE, GetWindowLong(Self.h...
分类:
其他好文 时间:
2014-07-29 20:41:42
阅读次数:
218
刚开电脑平时都好好的qc打开就报错,QCC10000E -Unable to allocate environment handle百度一番得出结论,环境变量出了差错,昨天弄别的东西的时候动了下环境变量,好吧,果断修正path环境变量添上:“;D:\Program Files\IBM\SQLLIB\...
分类:
其他好文 时间:
2014-07-29 13:40:08
阅读次数:
351
function StopServies(sServiceName: String): boolean; // 停止某个服务;
var
schService: SC_HANDLE;
schSCManager: SC_HANDLE;
ssStatus: TServiceStatus;
begin
schSCManager := OpenSCManager(nil, nil, SC_M...
分类:
其他好文 时间:
2014-07-29 12:51:26
阅读次数:
153
解除文件的独占锁定,通过ZwQuerySystemInformation查询当前系统的所有句柄信息, 然后调用OpenProcess获取目标进程句柄,遍历当前所有进程, 根据进程ID, 得到此进程打开的所有句柄信息, 接下来用DuplicateHandle复制Handle到本地进程,然后通过文件句柄获取对应的文件对象的完整名字.确定文件名后, 如果要删除文件, 则调用OpenProcess与DuplicateHandle关闭句柄, 然后ZwDeleteFile删除文件。...
分类:
其他好文 时间:
2014-07-28 00:28:59
阅读次数:
256
1 #include 2 #include 3 4 LRESULT CALLBACK WinSunProc( 5 HWND hwnd, // handle to window 6 UINT uMsg, // message identifier 7 WPARAM wPar...
Description
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle c...
分类:
其他好文 时间:
2014-07-27 11:36:04
阅读次数:
234
bpx hmemcpy 破解万能断点,拦截内存拷贝动作bpx Lockmytask 当你用其它断点都无效时可以试一下,这个断点拦截按键的动作bmsg handle wm_gettext 拦截注册码(handle为对应窗口的句柄)bmsg handle wm_command 拦截OK按钮(handle...
分类:
其他好文 时间:
2014-07-26 01:27:07
阅读次数:
289