Hi Lance, excuse my stupidity but I didn't spot the 'lp' in the declaration ! But it makes sense looking at the 'C' coding
Adrian
------------------
Announcement
Collapse
No announcement yet.
win32api.inc whoops ?
Collapse
X
-
The declare is correct. It is a VOID function, which translates to a SUB in PowerBASIC.
From WIN32.HLP:
VOID GetSystemTimeAsFileTime(
LPFILETIME lpSystemTimeAsFileTime // pointer to a file time structure
);
...
Return Values
This function does not return a value.
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
win32api.inc whoops ?
Hi PB support, my win32api.inc (dated 30/8/20010 has the following...
DECLARE SUB GetSystemTimeAsFileTime LIB "KERNEL32.DLL" ALIAS "GetSystemTimeAsFileTime" (lpFileTime AS FILETIME)
Am I missing something or should it be a FUNCTION to return a value ?
Adrian
------------------
Tags: None
Leave a comment: