Connects to the Internet.
Syntax
HRESULT NetworkConnect( LPCWSTR wsUserName, LPCWSTR wsPassword );
Parameters
- wsUserName
- Address of a null-terminated string that contains the user name for the Internet connection.
- wsPassword
- Address of a null-terminated string that contains the password for the Internet connection.
Return Value
Returns S_OK if successful, or an error code otherwise.