mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
255 B
25 lines
255 B
#ifndef _CSID_H
|
|
#define _CSID_H
|
|
|
|
class CSid
|
|
{
|
|
public:
|
|
CSid ();
|
|
~CSid();
|
|
|
|
inline BOOL
|
|
bValid () CONST {
|
|
return m_bValid;
|
|
}
|
|
|
|
BOOL
|
|
SetCurrentSid ();
|
|
|
|
private:
|
|
HANDLE m_hToken;
|
|
BOOL m_bValid;
|
|
|
|
};
|
|
|
|
|
|
#endif
|