No Description
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.

Win32ApiSharedEmulation.cpp 585B

1234567891011121314151617181920
  1. #include "il2cpp-config.h"
  2. #if IL2CPP_TARGET_WINRT
  3. #include "Win32ApiSharedEmulation.h"
  4. extern "C"
  5. {
  6. // Provide a dummy GetIfEntry for WinRT. This is used by the class library
  7. // code to implement GetAllNetworkInterfaces(). It looks like the values
  8. // returned though are never actually used. So this dummy implementation seems
  9. // to be enough for the class library code to work in WinRT.
  10. DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow)
  11. {
  12. memset(pIfRow, 0, sizeof(MIB_IFROW));
  13. return NO_ERROR;
  14. }
  15. } // extern "C"
  16. #endif // IL2CPP_TARGET_WINRT