Return Values: A signed 32-bit value indicating return status. This method MUST return zero to indicate success, or an HRESULT error value (as specified in section 2.1.1) to indicate failure. Return Description 0x00000000 The call was successful. S_OK 0x80004003 The method failed due to an invalid pointer. E_POINTER Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying protocol . UserName (Set) 14) The UserName (Set) method sets the user name for the session. [propput, id(DISPID_SAF_SESS__USERNAME)] HRESULT UserName( [in] BSTR pVal ); pVal: User name to assign for the session. Return Values: A signed 32-bit value indicating return status. This method MUST return zero to indicate success, or an HRESULT error value (as specified in section 2.1.1) to indicate failure. Return value/code Description 0x00000000 The call was successful. S_OK Exceptions Thrown: No exceptions are thrown beyond thrown by the underlying protocol . Timer Events No events are required beyond the events maintained in the underlying transport (see section ). Other Local Events No additional local events are used beyond the events maintained in the underlying transport (see section ). IPCHService Remote Assistance Client Details The following sections specify client details of the Remote Assistance Initiation Protocol, including abstract data models, timers, and message processing rules. Abstract Data Model The MUST specify the IP address or of the computer to use this protocol.
Return Values: A signed 32-bit value indicating return status. This method MUST return zero to indicate success, or an HRESULT error value (as specified in section 2.1.1) to indicate failure. Return Description 0x00000000 S_OK The call was successful. 0x80004003 E_POINTER The method failed due to an invalid pointer. Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying protocol . UserName (Set) 14) The UserName (Set) method sets the user name for the session. [propput, id(DISPID_SAF_SESS__USERNAME)] HRESULT UserName( [in] BSTR pVal ); pVal: User name to assign for the session. Return Values: A signed 32-bit value indicating return status. This method MUST return zero to indicate success, or an HRESULT error value (as specified in section 2.1.1) to indicate failure. Return value/code Description 0x00000000 S_OK The call was successful. Exceptions Thrown: No exceptions are thrown beyond thrown by the underlying protocol . Timer Events No events are required beyond the events maintained in the underlying transport (see section ). Other Local Events No additional local events are used beyond the events maintained in the underlying transport (see section ). IPCHService Remote Assistance Client Details The following sections specify client details of the Remote Assistance Initiation Protocol, including abstract data models, timers, and message processing rules. Abstract Data Model The MUST specify the IP address or of the computer to use this protocol.