flat assembler
Message board for the users of flat assembler.

Index > Windows > win64 OVERLAPPED structure?

Author
Thread Post new topic Reply to topic
r22



Joined: 27 Dec 2004
Posts: 805
r22 01 Dec 2006, 04:01
Quote:

typedef struct _OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
union {
struct {
DWORD Offset;
DWORD OffsetHigh;
};
PVOID Pointer;
};
HANDLE hEvent;
} OVERLAPPED, *LPOVERLAPPED;

Anyone have a verified|tested|working 64bit fasm struct?

struct OVERLAPPED
Internal dd ?
InternalHigh dd ?
Offset dd ?
OffsetHigh dd ?
Pointer dq ?
hEvent dq ?
ends

If not I'll eventually get around to testing it.
Post 01 Dec 2006, 04:01
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower 01 Dec 2006, 16:26
I think, that you here have made a mistake. Here on mine correct structure:

struct OVERLAPPED
Internal dd ?
InternalHigh dd ?
union
struct
Offset dd ?
OffsetHigh dd ?
ends
Pointer dq ?
ends
hEvent dq ?
ends
Post 01 Dec 2006, 16:26
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Goplat



Joined: 15 Sep 2006
Posts: 181
Goplat 01 Dec 2006, 16:28
isn't ULONG_PTR 64-bit in Win64?
Post 01 Dec 2006, 16:28
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 02 Dec 2006, 00:53
it is...
Post 02 Dec 2006, 00:53
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.