IOCTL_PROCESSOR_INFORMATION (Compact 2013)
10/16/2014
This I/O control is a request by an application to retrieve microprocessor information from the OAL and store it in the PROCESSOR_INFO structure. Send this message with KernelIoControl.
This I/O control is optional, but Microsoft recommends that all OEMs support it.
Syntax
BOOL KernelIoControl(
DWORD dwIoControlCode, // use IOCTL_PROCESSOR_INFORMATION
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_PROCESSOR_INFORMATION for this operation.
- lpInBuffer
Not used; set to NULL.
- nInBufferSize
Not used; set to zero.
- lpOutBuffer
[out] Pointer to an output buffer allocated to hold the PROCESSOR_INFO structure.
- nOutBufferSize
[in] Set to the size of the PROCESSOR_INFO structure.
- lpBytesReturned
[in] Actual number of bytes returned in lpOutBuffer.
Return Values
Returns TRUE if successful; otherwise, returns FALSE.
Requirements
Header |
pkfuncs.h |
See Also
Reference
Device Information IOCTLs
CEProcessorType