CBaseAllocator::CBaseAllocator
Constructs a CBaseAllocator object.
CBaseAllocator(
TCHAR* pName,
LPUNKNOWN lpUnk,
HRESULT* phr,
BOOL bListSemaphore = 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. See Setting Up the Build Environment for more information.
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.