flat assembler
Message board for the users of flat assembler.

Index > Windows > How work with classes in fasm?

Author
Thread Post new topic Reply to topic
Hellok



Joined: 24 Sep 2020
Posts: 3
Hellok 24 Sep 2020, 22:08
Hello everyone!

I am have a question. I need using winapi function 'GetTokenInformation'. But it use TOKEN_INFORMATION_CLASS.
Please, can you explain how to work with classes?
Post 24 Sep 2020, 22:08
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4224
Location: vpcmpistri
bitRAKE 25 Sep 2020, 03:23
It's just an enum - a group of numbers with a name.
Code:
TokenUser=1
;... etc.    

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 25 Sep 2020, 03:23
View user's profile Send private message Visit poster's website Reply with quote
Hellok



Joined: 24 Sep 2020
Posts: 3
Hellok 25 Sep 2020, 08:35
oh, it's so easy. Thank you, bitRAKE!
Post 25 Sep 2020, 08:35
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.