CMemAllocator::CreateInstance (Compact 2013)

3/26/2014

Creates new instances of CMemAllocator in the factory template.

Syntax

static CUnknown* CreateInstance(
  LPUNKNOWN pUnk,
  HRESULT* phr 
);

Parameters

  • pUnk
    Pointer to the IUnknown interface.
  • phr
    Pointer to the HRESULT value into which to place resulting information.

Return Value

Returns the pUnkRet parameter, which is a CUnknown class object.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMemAllocator Class