Partager via


OALIoCtlHalGetCacheInfo (Windows CE 5.0)

Send Feedback

This function populates the OAL_CACHE_INFO structure with information about the CPU/SOC cache. OALIoCtlHalGetCacheInfo implements OEMIoControl and IOCTL_HAL_GET_CACHE_INFO.

BOOL OALIoCtlHalGetCacheInfo(  UINT32 code,  VOID *pInBuffer,  UINT32 inpSize,  VOID *pOutBuffer,  UINT32 outSize,  UINT32 *pOutSize);

Parameters

  • code
    [in] Set to IOCTL_HAL_GET_CACHE_INFO.

  • pInBuffer
    [in] Pointer to an input buffer, set to NULL.

  • inpSize
    [in] Size of pInBuffer, in bytes.

    Set to zero.

  • pOutBuffer
    [out] Pointer to an allocated buffer of size OAL_CACHE_INFO.

  • outSize
    [out] Set to sizeof(OAL_CACHE_INFO).

  • pOutSize
    [in] Pointer to a DWORD value that returns the number of bytes, which is equal to OAL_CACHE_INFO.

Return Values

TRUE indicates success.

FALSE indicates failure.

Remarks

Requirements

OS Versions: Windows CE Version 5.0 and later
Header: Oal_cache.h
Link Library: Developer-defined

See Also

Cache Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.