WNetGetProviderNameW method

int WNetGetProviderNameW(
  1. int dwNetType,
  2. Pointer<Uint16> lpProviderName,
  3. Pointer<Uint64> lpBufferSize
)

Implementation

int WNetGetProviderNameW(
  int dwNetType,
  ffi.Pointer<ffi.Uint16> lpProviderName,
  ffi.Pointer<ffi.Uint64> lpBufferSize,
) {
  return (_WNetGetProviderNameW ??= _dylib.lookupFunction<
      _c_WNetGetProviderNameW,
      _dart_WNetGetProviderNameW>('WNetGetProviderNameW'))(
    dwNetType,
    lpProviderName,
    lpBufferSize,
  );
}