ISCPSession::BeginSession
The BeginSession method indicates beginning of a transfer session. It can be used to optimize operations that need to occur only once per transfer session.
Syntax
HRESULT BeginSession(IMDSPDevice*pIDevice,BYTE*pCtx,DWORDdwSizeCtx);
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