CBaseAllocator::CBaseAllocator (Windows Embedded CE 6.0)
1/6/2010
Constructs a CBaseAllocator object.
Syntax
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 Value
None.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |