Share via


ISCPSession::EndSession (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 EndSession method indicates the ending of a transfer session.

Syntax

HRESULT EndSession(
  IMDSPDevice*  pIDevice,
  BYTE*  pCtx,
  DWORD  dwSizeCtx
);

Parameters

pIDevice

[in]  Pointer to an IMDSPDevice object.

pCtx

[in]  Pointer to the context.

dwSizeCtx

[in]  DWORD containing the size of context.

Return Values

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

Requirements

Header: Defined in WMSCP.idl.

Library: mssachlp.lib

See Also