[Bug 13001] New: LookupPrivilegeValue
http://bugs.winehq.org/show_bug.cgi?id=13001 Summary: LookupPrivilegeValue Product: Wine Version: 0.9.61. Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: russiane39(a)gmail.com I think many games suffer from not availability of that function in wine, http://msdn.microsoft.com/en-us/library/aa379180(VS.85).aspx -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2008-05-05 20:29:23 --- Can you give an example? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #2 from Michael Kosarev <russiane39(a)gmail.com> 2008-05-05 20:32:26 --- Various sniffers, some private anti-cheat systems for Counter Strike. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #3 from Michael Kosarev <russiane39(a)gmail.com> 2008-05-05 20:37:17 --- Here is example portion of code, utilizes that WinApi function: procedure EnableDebugPrivileges; var hToken: THandle; tp: TTokenPrivileges; DebugNameValue: Int64; ret: Cardinal; begin OpenProcessToken(GetCurrentProcess, TOKEN_ADJUST_PRIVILEGES or TOKEN_QUERY, hToken); LookupPrivilegeValue(nil, 'SeDebugPrivilege', DebugNameValue); tp.PrivilegeCount:=1; tp.Privileges[0].Luid:=DebugNameValue; tp.Privileges[0].Attributes:=SE_PRIVILEGE_ENABLED; AdjustTokenPrivileges(hToken, False, tp, sizeof(tp), nil, ret); end; -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2008-05-05 20:44:58 --- (In reply to comment #3)
Here is example portion of code, utilizes that WinApi function: procedure EnableDebugPrivileges; var hToken: THandle; tp: TTokenPrivileges; DebugNameValue: Int64; ret: Cardinal; begin OpenProcessToken(GetCurrentProcess, TOKEN_ADJUST_PRIVILEGES or TOKEN_QUERY, hToken); LookupPrivilegeValue(nil, 'SeDebugPrivilege', DebugNameValue); tp.PrivilegeCount:=1; tp.Privileges[0].Luid:=DebugNameValue; tp.Privileges[0].Attributes:=SE_PRIVILEGE_ENABLED; AdjustTokenPrivileges(hToken, False, tp, sizeof(tp), nil, ret); end;
Any chance you can flesh that out into a small compiled program to test on wine/windows? Or better yet, port it into a conformance test... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #5 from Michael Kosarev <russiane39(a)gmail.com> 2008-05-05 21:11:19 --- http://msdn.microsoft.com/en-us/library/aa446619(VS.85).aspx - simple example -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 --- Comment #6 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2008-05-05 22:03:29 --- LookupPrivilegeValue is implemented in Wine, what's exactly the problem? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2008-11-03 21:24:04 --- Abandoned. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2008-11-03 21:24:20 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13001 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other OS/Version|All |other --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2012-02-23 15:03:47 CST --- Removing deprecated 'All' Platform/OS. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org