Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
467 B

  1. module CQuery
  2. implicit none
  3. public GetCurrentProcessorNumber
  4. interface
  5. function GetCurrentProcessorNumber() bind(C,Name='GetCurrentProcessorNumber')
  6. use ifwinty
  7. implicit none
  8. !DEC$ ATTRIBUTES STDCALL :: GetCurrentProcessorNumber
  9. integer(DWORD) :: GetCurrentProcessorNumber
  10. end function GetCurrentProcessorNumber
  11. end interface
  12. contains
  13. end module CQuery