Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send comments about this topic to Microsoft
Build date: 7/13/2012