IPlayToReceiverClassFactory::CreateInstance method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Creates an instance of the PlayToReceiver object.

Syntax


HRESULT CreateInstance(
  [in]   DWORD dwFlags,
  [in]   IUnknown *pElement,
  [out]  IInspectable **ppReceiver
);

Parameters

dwFlags [in]

Reserved. Set to zero.

pElement [in]

A pointer to the IUnknown interface of the element that renders the media.

ppReceiver [out]

Receives a pointer to the IInspectable interface. The caller must release the interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

None supported

Header

PlayTo.h

See also

IPlayToReceiverClassFactory

 

 

Send comments about this topic to Microsoft

Build date: 6/4/2012

Community Additions

Show:
© 2014 Microsoft