ISCPSecureAuthenticate2::GetSCPSession method (mswmdm.h)

The GetSCPSession method is used to obtain a pointer to the ISCPSecureQuery interface that represents a session object.

Syntax

HRESULT GetSCPSession(
  [out] ISCPSession **ppSCPSession
);

Parameters

[out] ppSCPSession

Pointer to an ISCPSession object.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

This method is used to obtain a secure content provider (SCP) session. An SCP session is useful during transfer of multiple files, where the session can help SCP do some of the operations only once instead of once for every file transfer. This results in better transfer performance.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h
Library Mssachlp.lib

See also

ISCPSecureAuthenticate2 Interface