mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[TASKMGR]
* Minor style changes in wWinMain. svn path=/trunk/; revision=64893
This commit is contained in:
parent
4ef9ff28e2
commit
f47eeb21ab
1 changed files with 5 additions and 3 deletions
|
@ -152,7 +152,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Get a token for this process. */
|
/* Get a token for this process. */
|
||||||
if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken)) {
|
if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken))
|
||||||
|
{
|
||||||
/* Get the LUID for the debug privilege. */
|
/* Get the LUID for the debug privilege. */
|
||||||
if (LookupPrivilegeValueW(NULL, SE_DEBUG_NAME, &tkp.Privileges[0].Luid))
|
if (LookupPrivilegeValueW(NULL, SE_DEBUG_NAME, &tkp.Privileges[0].Luid))
|
||||||
{
|
{
|
||||||
|
@ -169,7 +170,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
|
||||||
LoadSettings();
|
LoadSettings();
|
||||||
|
|
||||||
/* Initialize perf data */
|
/* Initialize perf data */
|
||||||
if (!PerfDataInitialize()) {
|
if (!PerfDataInitialize())
|
||||||
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue