OALIoCtlProcessorInfo (Compact 2013)
10/16/2014
This function implements the IOCTL_PROCESSOR_INFORMATION handler. OALIoCtlProcessorInfo handles a request by an application to retrieve microprocessor information from the OAL and store it in the PROCESSOR_INFO structure.
Syntax
BOOL OALIoCtlProcessorInfo(
UINT32 dwIoControlCode,
VOID* lpInBuf,
UINT32 nInBufSize,
VOID* lpOutBuf,
UINT32 nOutBufSize,
UINT32* lpBytesReturned
);
Parameters
- dwIoControlCode
[in] Set to IOCTL_PROCESSOR_INFORMATION.
- lpInBuf
[in] Set to NULL.
- nInBufsize
[in] Set to zero.
lpOutBuf
[out] Pointer to the output buffer.This is set to a buffer allocated to hold the PROCESSOR_INFO structure.
nOutBufSize
[in] Maximum number of bytes that can be returned in lpOutBuf.Set to the size of the PROCESSOR_INFO structure.
- lpBytesReturned
[in] Actual number of bytes returned in lpOutBuf.
Return Value
TRUE indicates success.
FALSE indicates failure.
Requirements
Header |
oal_ioctl.h |
Library |
Developer Implemented |