In the latest win32api.inc file is this declaration:
DECLARE FUNCTION LookupPrivilegeValue LIB "ADVAPI32.DLL" ALIAS "LookupPrivilegeValueA" (lpSystemName AS ASCIIZ, lpName AS ASCIIZ, lpLuid AS QUAD) AS LONG
From a recent thread on this forum the conclusion was that it should be:
DECLARE FUNCTION LookupPrivilegeValue LIB "ADVAPI32.DLL" ALIAS "LookupPrivilegeValueA" (lpSystemName AS ASCIIZ, lpName AS ASCIIZ, lpLuid AS LARGE_INTEGER) AS LONG
And if that's the case then the current win32api.inc is missing the declaration for LARGE_INTEGER:
TYPE LARGE_INTEGER
lowpart AS LONG
highpart AS LONG
END TYPE

(Can't compile half of Semens code without that
)
------------------
DECLARE FUNCTION LookupPrivilegeValue LIB "ADVAPI32.DLL" ALIAS "LookupPrivilegeValueA" (lpSystemName AS ASCIIZ, lpName AS ASCIIZ, lpLuid AS QUAD) AS LONG
From a recent thread on this forum the conclusion was that it should be:
DECLARE FUNCTION LookupPrivilegeValue LIB "ADVAPI32.DLL" ALIAS "LookupPrivilegeValueA" (lpSystemName AS ASCIIZ, lpName AS ASCIIZ, lpLuid AS LARGE_INTEGER) AS LONG
And if that's the case then the current win32api.inc is missing the declaration for LARGE_INTEGER:
TYPE LARGE_INTEGER
lowpart AS LONG
highpart AS LONG
END TYPE

(Can't compile half of Semens code without that

------------------
Comment