Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
[NtGetCurrentProcessorNumber may be altered or unavailable in future versions of Windows. Applications should use the GetCurrentProcessorNumber function instead.]
Retrieves the number of the processor the current thread was running on during the call to this function.
Syntax
ULONG WINAPI NtGetCurrentProcessorNumber(void);
Parameters
This function has no parameters.
Return value
The function returns the current processor number.
Remarks
This function is used to provide information for estimating process performance.
This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Ntdll.dll.
Requirements
| Requirement | Value |
|---|---|
| DLL |
|
See also