Partager via


OALIoCtlHalGetCacheInfo (Windows Embedded CE 6.0)

1/5/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Cache Functions