|GUI ScreenIO for Windows|
This API returns the name of the logged in user. This may be useful if you need to keep track of who processed certain transactions. Windows9x users can bypass the login screen and therefore this field may not contain anything useful.
This API will return the User Name at the client. You can optionally return the login name of the server you can preceded the API call with the following Set statement:
SET WIN32API-EXECUTE-API-ON-SERVER TO TRUE
Files available to copy to your system:
This field will receive the name of the user logged into the computer. It will be a null terminated string. You may unstring this field delimited low-value to obtain the actual name. The actual length of the string including the terminating low-value will be be in WIN32API-RC.
This argument is standard for all CALLs to GSWINAPI. It is used to select the desired API or function, and to return the status of the operation.
Used to return the status of a call to GSWINAPI. A value of zero is a failure, any other value indicates success.
Recommended usage is to test the 88-level value WIN32API to see if it worked, then to use the text error message to see why it failed.
* ------------------------: If function failed,
Error code that was returned by Windows. This is not generally useful unless you have the Windows Platform SDK documentation available to you.
Plain-text error message that describes why the operation failed.
The number of these present varies depending on how many arguments are used by the desired function. These are not used, but must be present because this CALL requires seven arguments.
|© 2000-2019 Norcom, all rights reserved|