BelhardTraining.LessonMultithreading.NativeMethods.SetTokenInformation C# (CSharp) Method

SetTokenInformation() private method

private SetTokenInformation ( SafeTokenHandle hToken, TOKEN_INFORMATION_CLASS tokenInfoClass, IntPtr pTokenInfo, Int32 tokenInfoLength ) : bool
hToken SafeTokenHandle
tokenInfoClass TOKEN_INFORMATION_CLASS
pTokenInfo System.IntPtr
tokenInfoLength System.Int32
return bool
        public static extern bool SetTokenInformation(
            SafeTokenHandle hToken,
            TOKEN_INFORMATION_CLASS tokenInfoClass,
            IntPtr pTokenInfo,
            Int32 tokenInfoLength);