Share via


ISCPSecureAuthenticate2::GetSCPSession (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

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

Syntax

HRESULT GetSCPSession(
  ISCPSession**  ppSCPSession
);

Parameters

ppSCPSession

[out]  Pointer to an ISCPSession object.

Return Values

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

Header: Defined in WMSCP.idl.

Library: mssachlp.lib

See Also