Share via


CMemAllocator::CMemAllocator (Compact 2013)

3/26/2014

Constructs a CMemAllocator object.

Syntax

CMemAllocator(
  TCHAR* pName,
  LPUNKNOWN lpUnk,
  HRESULT* phr 
); 

Parameters

  • pName
    Name of the allocator object.
  • lpUnk
    Pointer to LPUNKNOWN.
  • phr
    Pointer to the general COM return value. Note that this value is changed only if this function fails.

Return Value

None.

Remarks

This constructor is passed to CBaseAllocator::CBaseAllocator, which initializes the data members.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMemAllocator Class