[forgotten structures]
WINDOWINFO for GetWindowInfo
GUITHREADINFO for GetGUIThreadInfo
MENUBARINFO for GetMenuBarInfo
TITLEBARINFO for GetTitleBarInfo
CURSORINFO for GetCursorInfo
ALTTABINFO for GetAltTabInfo
COMBOBOXINFO for GetComboBoxInfo
SCROLLBARINFO for GetScrollBarInfo
LASTINPUTINFO for GetLastInputInfo
MONITORINFO(EX) for GetMonitorInfo
RID_DEVICE_INFO (=> also RID_DEVICE_INFO_MOUSE, RID_DEVICE_INFO_KEYBOARD, RID_DEVICE_INFO_HID) for GetRawInputDeviceInfo
[constants]
DC_HASDEFID equ 534Bh, not "equ 534h"
If they are not there they may be MISSING but they are not there so they are not errors.
What I need to know is if the structure is an SDK defined one and which C/C++ header file it occurs in.
>If they are not there they may be MISSING but they are not there so they are not errors.
Also we can say, that B was MISSING from 534Bh :)
Of course, these structures are not errors, so I used the word "forgotten" (instead of "MISSING"), but they are not there, and their absence is err :)
Dear Hutch, I wrote here because I (long ago) like and use masm32.
Quote
ICMP_OPTIONS STRUCT
Ttl BYTE ?
Tos BYTE ?
Flags BYTE ?
OptionsSize BYTE ?
OptionsData DWORD ?
ICMP_OPTIONS ENDS
ICMP_ECHO_REPLY STRUCT
Address DWORD ?
Status DWORD ?
RoundTripTime DWORD ?
DataSize WORD ?
Reserved WORD ?
DataPointer DWORD ?
Options DWORD ? ;error
zData BYTE 250 dup (?)
ICMP_ECHO_REPLY ENDS
typedef struct icmp_echo_reply {
IPAddr Address;
ULONG Status;
ULONG RoundTripTime;
USHORT DataSize;
USHORT Reserved;
PVOID Data;
struct ip_option_information Options;
} ICMP_ECHO_REPLY,
*PICMP_ECHO_REPLY;
typedef struct ip_option_information {
UCHAR Ttl;
UCHAR Tos;
UCHAR Flags;
UCHAR OptionsSize;
PUCHAR OptionsData;
} IP_OPTION_INFORMATION,
*PIP_OPTION_INFORMATION;
Read what I say, when I add ANYTHING to the Windows.inc file, I check it first to make sure the info posted is not wrong.
> What I need to know is if the structure is an SDK defined one and which C/C++ header file it occurs in.
I need to know,
1 What OS version it was introduced in.
2. Which C/C++ header file is the equate/structure in.
========================================
First of all I want to thank hutch-- for masm32 v.11, of course!
But now - a few comments to windows.inc (v.11), given my list of the first post of this old topic.
Missing again:
WINDOWINFO, GetWindowInfo
SCROLLBARINFO, GetScrollBarInfo
RID_DEVICE_INFO, GetRawInputDeviceInfo
GUITHREADINFO without GetGUIThreadInfo ...
Not corrected:
DC_HASDEFID equ 534Bh, not "equ 534h"
New (not extended for Vista/Win7):
typedef struct tagNONCLIENTMETRICS {
UINT cbSize;
int iBorderWidth;
int iScrollWidth;
int iScrollHeight;
int iCaptionWidth;
int iCaptionHeight;
LOGFONT lfCaptionFont;
int iSmCaptionWidth;
int iSmCaptionHeight;
LOGFONT lfSmCaptionFont;
int iMenuWidth;
int iMenuHeight;
LOGFONT lfMenuFont;
LOGFONT lfStatusFont;
LOGFONT lfMessageFont;
#if (WINVER >= 0x0600)
int iPaddedBorderWidth;
#endif
} NONCLIENTMETRICS, *PNONCLIENTMETRICS, *LPNONCLIENTMETRICS;
Thanks but I needed to know this during the months of BETA testing where I did not get all that much feedback.
SecurityAnonymous equ 1
SecurityIdentification equ 2
needs:
SecurityAnonymous equ 0
SecurityIdentification equ 1
SecurityImpersonation equ 2
SecurityDelegation equ 3
zero,
Thanks for the error report, this is what was needed to verify it.
typedef enum _SECURITY_IMPERSONATION_LEVEL
{
SecurityAnonymous = 0,
SecurityIdentification = 1,
SecurityImpersonation = 2,
SecurityDelegation = 3
} SECURITY_IMPERSONATION_LEVEL,
*PSECURITY_IMPERSONATION_LEVEL;