-
2009-02-03
用户态应用程序调用Native API的方法 - [VC++]
来源:http://blog.csdn.net/celestialwy/
微软基本没有提供给用户态程序调用Native API的接口,因为Windows SDK中几乎没有调用所需的头文件和库文件(SDK中只有少量的Native API所需的数据结构),但是可以利用以下两种方法在用户态调用Native API。
... -
2008-08-02
Icons in Win32 - [VC++]
来源:MSDN
The ICO File
An Icon file, which usually has the ICO extension, contains one icon resource. Given that an icon resource can contain multiple images, it is no surprise that the file begins with an icon directory:typedef struct
{
WORD idReserved; // Reserved (must be 0)
WORD idType; // Resource Type (1 for icons)
WORD idCount; // How many images?
ICONDIRENTRY idEntries[1]; // An entry for each image (idCount of 'em)
} ICONDIR, *LPICONDIR;
... -
2008-02-23
Windows Sockets Functions - [VC++]
send
The send function sends data on a connected socket.
... -
2008-02-04
Microsoft SDK For VC6.0 - [VC++]
Windows Server 2003 Platform SDK
Last Updated: February 2003
最后一个支持VC6.0的SDK!
... -
2007-11-26
我的第一个ShellCode - [VC++]
【以前学习时的练习品,发上来凑个数。】
//////////////////////////////////////////////////
#include <windows.h>
#pragma comment(linker, "-entry: MY_main")
#pragma comment(linker, "/subsystem: windows")
#pragma comment(lib, "msvcrt.lib")
...