Compartilhar via


IOCTL_HAL_GET_CACHE_INFO (Compact 2013)

10/16/2014

This I/O control message is used to retrieve cache information. Send this message with KernelIoControl.

Syntax

BOOL KernelIoControl(
    DWORD dwIoControlCode,    // use IOCTL_HAL_GET_CACHE_INFO
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned  // number of bytes returned
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_HAL_GET_CACHE_INFO for this operation.
  • lpInBuffer
    Not used; set to NULL.
  • nInBufferSize
    [in] Set to zero.
  • lpOutBuffer
    [out] Pointer to an allocated buffer of size CacheInfo.
  • lpBytesReturned
    [in] Pointer to a DWORD value that returns the number of bytes, equal to CacheInfo.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Requirements

Header

pkfuncs.h

See Also

Reference

Other OAL IOCTLs