struct upm_user_logon { unsigned char userid [UPM_UIDLEN + 1]; short remotetype; unsigned char remotename [UPM_REMLEN + 1]; LSINT sessionid; };
Return Codes
The following table lists the return codes most significant to this API.
(See API Return Codes for a complete
list of return codes.) ┌───────────────────────────────────────┬──────────────────────────────────────┐
│ SYMBOLIC CONSTANT │ MEANING │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_OK │ The call was completed successfully. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_ERROR_MORE_DATA │ All the available UPM_USER_LOGON │
│ │ entries did not fit into buf. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_BAD_TYPE │ The remote type specified is not │
│ │ valid. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_BAD_PARAMETER │ The remote name is not valid. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_NOMEM │ Insufficient memory is available to │
│ │ process the request. │
├───────────────────────────────────────┼──────────────────────────────────────┤
│ UPM_SYS_ERROR │ An unexpected system error occurred. │
└───────────────────────────────────────┴──────────────────────────────────────┘