Pm_CountDevices should return i32

method signature is:
  PMEXPORT int Pm_CountDevices( void );