More Windows API declarations for QM

Functions, classes, components, etc. Only high quality content.

More Windows API declarations for QM

Postby Gintaras on Tue Feb 13, 2007 8:29 pm

Many Windows API declarations are in WINAPI and other reference files that come with QM. This file contains more declarations.

Download

Converted from Windows 7 SDK header files. Used VC6 CRT header files for msvcrt.dll. Used preprocessor definitions for Windows7/IE8.

Contains 204585 declarations: dll 17615, type 10525, interface 5808, def 143275, guid 10949, typedef 18967, callback 2147

File size: ~12 MB. Compressed file size: ~2.6 MB.

Download and unzip to the Quick Macros folder.

Reference file declaration:
Function init2     ?
ref WINAPI2 "$qm$\winapi2.txt" 1


You can place the declaration in function 'init2'. Create if does not exist. It runs when QM starts. Although the file is >10 MB, it uses much less memory because QM does not load whole file.

Usage example:
WINAPI2.TYPE t
WINAPI2.Function(&t WINAPI2.Constant)



Actually it is better to extract declarations from the file and place them in macros. Then, instead of WINAPI2.Something use just Something. One of reasons for this is that some declarations may be changed in future WINAPI2 versions.

This file is for QM 2.2.0 and later. It is not compatible with older QM versions.

C to QM conversion tools currently are not available.

______________________________________________

03/05/2007 - fixed bug in some interface declarations.
04/29/2008 - added Windows Vista declarations.
08/24/2009 - added Windows 7 declarations.
04/12/2010 - added some missing dll names.
Last edited by Gintaras on Mon Mar 05, 2007 1:16 pm, edited 2 times in total.
Gintaras
Site Admin
 
Posts: 10185
Joined: Thu Dec 19, 2002 7:36 pm
Location: Lithuania

Return to QM Extensions

Who is online

Users browsing this forum: No registered users and 1 guest

cron