View Single Post
Old 24th September 2010, 09:23   #5
Netsurfer24
Senior Member
 
Join Date: Aug 2010
Posts: 104
Quote:
Originally Posted by Afrow UK View Post
You should put in a MessageBox after the call to LookupPrivilegeValue to see what $R0 is. It should be 0.
See: http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx
Quote:
Return Value

If the function succeeds, the function returns nonzero.

If the function fails, it returns zero. To get extended error information, call GetLastError.
Gunther
Netsurfer24 is offline   Reply With Quote