Share via


OALIoCtlHalGetCacheInfo (Compact 2013)

10/16/2014

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

Syntax

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 Value

TRUE indicates success.

FALSE indicates failure.

Remarks

Requirements

Header

oal_cache.h

Library

Developer Implemented

See Also

Reference

Cache Functions