Solved

win32s api's problem

Posted on 2000-04-16
2
808 Views
Last Modified: 2010-04-04
when I make program with win32api,I write:user_info.usri1_priv :=USER_PRIV_USER;
the compiler said :[Error] addntuser.pas(107): Undeclared identifier: 'USER_PRIV_USER'.
what's the matter? ( I'v see 'USER_PRIV_USER'is not found in the windows.dcu.what can I do?)
0
Comment
Question by:chenhuapeng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:f15iaf
ID: 2736277
look the value of "USER_PRIV_USER" at lm.h
0
 
LVL 1

Accepted Solution

by:
nrico earned 100 total points
ID: 2745035
For your convenience, I found this in LMACCESS.H:

#define USER_PRIV_MASK 0x3
#define USER_PRIV_GUEST 0
#define USER_PRIV_USER 1
#define USER_PRIV_ADMIN 2

That translates to

Const
  USER_PRIV_MASK=$03,
  USER_PRIV_GUEST=0,
  USER_PRIV_USER=1,
  USER_PRIV_ADMIN=2;
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month7 days, 9 hours left to enroll

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question