Logs the user on to the Internet server.
Syntax
HRESULT ServerLogin( LPCWSTR wsUserName LPCWSTR wsPassword );
Parameters
- wsUserName
- Address of a null-terminated string that contains the user name for the Internet server.
- wsPassword
- Address of a null-terminated string that contains the password for the Internet server.
Remarks
The given user name and password are for the Internet server. They may or may not be the same as those used for the NetworkConnect function.
Return Value
Returns S_OK if successful, or an error code otherwise.