Network Interface services: Difference between revisions

No edit summary
No edit summary
Line 34: Line 34:
| 4 || CreateRequest || Returns an [[#IRequest]].
| 4 || CreateRequest || Returns an [[#IRequest]].
|-
|-
| 5 || GetCurrentNetworkProfile ||
| 5 || [[#GetCurrentNetworkProfile]] ||
|-
|-
| 6 || EnumerateNetworkInterfaces ||
| 6 || EnumerateNetworkInterfaces ||
Line 117: Line 117:


The wrapper for this with official sw will return 0 when any errors occur (wrapper returns [[#ClientId]] not Result).
The wrapper for this with official sw will return 0 when any errors occur (wrapper returns [[#ClientId]] not Result).
=== GetCurrentNetworkProfile ===
Takes a type-0x1A output buffer containing a [[#SfNetworkProfileData]].
sdknso converts the output to [[#NetworkProfileData]].


=== IsAnyInternetRequestAccepted ===
=== IsAnyInternetRequestAccepted ===
Line 273: Line 278:
= ClientId =
= ClientId =
This is "nn::nifm::ClientId". This contains an u32.
This is "nn::nifm::ClientId". This contains an u32.
= SfNetworkProfileData =
This is "nn::nifm::detail::sf::NetworkProfileData". This is a 0x17C-byte struct. This is converted to/from [[#NetworkProfileData]] by sdknso.
= NetworkProfileData =
This is "nn::nifm::NetworkProfileData". This is converted from/to [[#NetworkProfileData]] by sdknso.


[[Category:Services]]
[[Category:Services]]