[DllImport("advapi32.dll", SetLastError=true, CharSet=CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool LookupPrivilegeValue(string lpSystemName, string lpName,
out LUID lpLuid);
Declare Function LookupPrivilegeValue Lib "advapi32.dll" (lpSystemName As String, _
lpName As String, ByRef lpLuid As LUID) As Boolean
Int64 could be used instead of LUID.
Please add some!
Please add some!
Do you know one? Please contribute it!