3.1.4.1.2.2.5 SessionState (Get) (Opnum 9)
The SessionState (Get) method retrieves the state of the session.
-
[propget, id(DISPID_SAF_SESS__SESSIONSTATE)] HRESULT SessionState( [out, retval] SessionStateEnum* pVal );
pVal: A pointer to an integer that represents the state of the session. The integer MUST be one of the values of SessionStateEnum, 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].