3.1.4.1.2.2.3 SessionID (Get) (Opnum 7)

The SessionID (Get) method retrieves the identifier number of the session.

 [propget, id(DISPID_SAF_SESS__SESSIONID)] HRESULT SessionID(
   [out, retval] DWORD* pVal
 );

pVal: Pointer to the identifier number of 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 [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].