3.1.4.1.2.2.6 SessionState (Set) (Opnum 10)
The SessionState (Set) method sets the state of the session.
-
[propput, id(DISPID_SAF_SESS__SESSIONSTATE)] HRESULT SessionState( [in] SessionStateEnum pVal );
pVal: An integer that represents the state of the session. The integer MUST be one of the values of the SessionStateEnum enumeration, as specified in section 2.2.3.
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 [MS-ERREF] section 2.1.1) to indicate failure.
-
Return value/code
Description
0x00000000
S_OK
The call was successful.
0x80000003
E_INVALIDARG
One or more arguments are invalid.
Exceptions Thrown:
No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].