Missed Constants

Windows specific forum
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Missed Constants

Post by Hroudtwolf »

Hello,

I need following API constants...

#OWNER_SECURITY_INFORMATION
#GROUP_SECURITY_INFORMATION
#DACL_SECURITY_INFORMATION
#SACL_SECURITY_INFORMATION

... but PureBasic don't know this constants.

Do anyone knows the real values oft this constants ?

Thank you very much.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

No problem:

Code: Select all

#OWNER_SECURITY_INFORMATION = 1
#GROUP_SECURITY_INFORMATION = 2
#DACL_SECURITY_INFORMATION  = 4
#SACL_SECURITY_INFORMATION  = 8
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Missed Constants

Post by Trond »

Hroudtwolf wrote:#OWNER_SECURITY_INFORMATION 1
#GROUP_SECURITY_INFORMATION 2
#DACL_SECURITY_INFORMATION 4
#SACL_SECURITY_INFORMATION 8
EDIT: I'm too slow.
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Oh. Was very fast.

Thank you at both of you.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

see: viewtopic.php?t=17218

this help you
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Wow.

I should often look in announces.

Thanks
Post Reply