main
Raw Download raw file
 1package fs
 2
 3// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
 4type SecurityImpersonationLevel int32 // C default enums underlying type is `int`, which is Go `int32`
 5
 6// Impersonation levels
 7const (
 8	SecurityAnonymous      SecurityImpersonationLevel = 0
 9	SecurityIdentification SecurityImpersonationLevel = 1
10	SecurityImpersonation  SecurityImpersonationLevel = 2
11	SecurityDelegation     SecurityImpersonationLevel = 3
12)