Compartir a través de


IAMDevMemoryAllocator::CheckMemory (Windows CE 5.0)

Send Feedback

This method tests whether a memory pointer was allocated by the specific instance (device) of the allocator.

HRESULT CheckMemory(const BYTE* pBuffer);

Parameters

  • pBuffer
    [in] Pointer to the allocated memory buffer's address.

Return Values

Returns S_OK if the on-board allocator allocated the memory, or S_FALSE if not. Memory that is on the particular device but not allocated will also return S_FALSE.

Remarks

The hardware filter typically uses this method to test whether the pointer actually points to on-board memory.

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:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.