flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Apolo
How to declare TOKEN_USER and SECURITY_DESCRIPTOR in 64-bit???
|
|||
![]() |
|
Apolo
Aaarrrggghhh! Ghhhrrr! I am having a hysterical attack now. I am being MAD!
|
|||
![]() |
|
Furs
Well: https://msdn.microsoft.com/en-us/library/windows/desktop/aa379561%28v=vs.85%29.aspx
Says: Quote: Because the internal format of a security descriptor can vary, we recommend that applications not modify the SECURITY_DESCRIPTOR structure directly. For creating and manipulating a security descriptor, use the functions listed in See Also. Probably you can find some info online about (1) if someone has done it, but why? It won't be portable to different Windows versions. EDIT: Btw if you want its "size" then I did with MinGW-w64 and it was like this: Code: sizeof(TOKEN_USER) = 16 bytes sizeof(SECURITY_DESCRIPTOR) = 40 bytes |
|||
![]() |
|
Apolo
No! I need know the members for those structures in 64 bit with QWORDs.
|
|||
![]() |
|
Trinitek
Apolo wrote: No! I need know the members for those structures in 64 bit with QWORDs. |
|||
![]() |
|
Apolo
Stop provoke me!
I am going mad! |
|||
![]() |
|
Furs
If you really insist, here's the definition from MinGW, however there is no guarantee it is correct on your Windows version:
Code: typedef struct _SECURITY_DESCRIPTOR { UCHAR Revision; UCHAR Sbz1; SECURITY_DESCRIPTOR_CONTROL Control; PSID Owner; PSID Group; PACL Sacl; PACL Dacl; } SECURITY_DESCRIPTOR; All you can know probably is that its size is the same (if you need to allocate it). |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.