flat assembler
Message board for the users of flat assembler.
Index
> Windows > Information on WSASocketA's GROUP g |
Author |
|
fasmnewbie 15 Aug 2018, 14:38
I have two questions on this WSASocketA
1) Does anybody know where I can get the definition of GROUP type? Is it a structure? 2) And what's the size of member "g"? Is it a word, dword or anything? Thanks in advance |
|||
15 Aug 2018, 14:38 |
|
fasmnewbie 15 Aug 2018, 20:12
Thanks, DimonSoft.
I think it is still a DWORD-sized on Win64, plus your confirmation. Since it's the 5th argument, the placement is on [rsp+32] and dwFlags (the 6th argument) should be on [rsp+36] above the shadow space and not [rsp+40] as I originally thought. If so, then these two members share the same stack 'unit' (they occupy only 8 bytes instead of 16), and I have to re-adjust my stack allocation to ensure the alignment is observed (sub rsp,40 instead of sub rsp,56). |
|||
15 Aug 2018, 20:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.