Compartir a través de


CBaseAllocator::CBaseAllocator (Windows CE 5.0)

Send Feedback

Constructs a CBaseAllocator object.

CBaseAllocator(TCHAR* pName,
  LPUNKNOWNlpUnk,
  HRESULT* phr,
  BOOLbListSemaphore= TRUE); 

Parameters

  • pName
    Name of the allocator object.

  • lpUnk
    Pointer to LPUNKNOWN.

  • phr
    Pointer to an HRESULT for return values. This is not modified unless this member function fails.

  • bListSemaphore
    If TRUE, the free list in the allocator has a semaphore associated with it.

    If FALSE, no semaphore is created for the list.

    Setting this to FALSE can be useful for subclassing CBaseAllocator when the semaphore is not required for blocking. The semaphore is used for the waiting and signaling mechanism.

Return Values

None.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.