[Question]Thread Access Rights: PROCESS_SET_SESSIONID Flag menu

These ads disappear when you log in.

Results 1 to 1 of 1
  1. #1
    nilum's Avatar Sergeant
    Reputation
    9
    Join Date
    Jun 2009
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    [Question]Thread Access Rights: PROCESS_SET_SESSIONID Flag

    So as a little exercise for myself I decided to write a small library to read memory (borrowing heavily from BlackMagic).

    In BlackMagic's source, in the AccessRights class, I noticed this flag commented out:
    Code:
    //public const uint PROCESS_SET_SESSIONID = 0x0004;
    Curiously, MSDN's documentation(AND) lists nothing about this flag. Even stranger, the THREAD_ALL_ACCESS constant in BlackMagic still sets this flag to 1:
    Code:
    public const uint THREAD_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3FF;
    (Or 0x0004)

    If PROCESS_SET_SESSIONID is deprecated, redundant or unsafe, wouldn't this be more proper:
    Code:
    public const uint THREAD_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3FB;
    (Xor 0x0004)

    Thanks in advance.
    Last edited by nilum; 04-27-2012 at 06:53 AM.

    These ads disappear when you log in.

Similar Threads

  1. Lost Question Thread!
    By Fault in forum Community Chat
    Replies: 8
    Last Post: 05-30-2010, 02:30 PM
  2. Warcraft III questions thread
    By ChildeRoland in forum Gaming Chat
    Replies: 4
    Last Post: 06-18-2009, 05:32 PM
  3. [ Question ] Find the right Texture Files
    By Chaoty in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 05-18-2008, 01:37 PM
  4. My Question Thread
    By L'Lawliet in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 12-17-2007, 09:44 AM
  5. Cheezeit's Help/Questions thread
    By Cheezeit117 in forum World of Warcraft General
    Replies: 37
    Last Post: 08-14-2007, 10:04 PM
All times are GMT -5. The time now is 03:01 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search