#689 Missing tokens in TOKEN_INFORMATION_CLASS enum

Feature_requests
closed-fixed
nobody
2004-12-07
2004-12-05
No

MinGW (with last w32api package release) does not
recognize the TokenSandBoxInert value (winnt.h). From
MSDN, this enum looks like this :

typedef enum _TOKEN_INFORMATION_CLASS {
TokenUser = 1,
TokenGroups,
TokenPrivileges,
TokenOwner,
TokenPrimaryGroup,
TokenDefaultDacl,
TokenSource,
TokenType,
TokenImpersonationLevel,
TokenStatistics,
TokenRestrictedSids,
TokenSessionId,
TokenGroupsAndPrivileges,
TokenSessionReference,
TokenSandBoxInert,
TokenAuditPolicy,
TokenOrigin,
MaxTokenInfoClass // MaxTokenInfoClass should
always be the last enum
} TOKEN_INFORMATION_CLASS, *PTOKEN_INFORMATION_CLASS;

MinGW stopped at TokenSessionId. There are a few
structures relatives to theses new tokens (from MSVC's
winnt.h) who need to be declared, too.

Discussion

  • Danny Smith

    Danny Smith - 2004-12-07

    Logged In: YES
    user_id=11494

    The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and
    mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically
    merged into the MinGW CVS tree. If you still find problems then please open a new report.

     
  • Danny Smith

    Danny Smith - 2004-12-07
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks