WNetGetProviderNameA method

int WNetGetProviderNameA(
  1. int dwNetType,
  2. Pointer<Int8> lpProviderName,
  3. Pointer<Uint64> lpBufferSize
)

Implementation

int WNetGetProviderNameA(
  int dwNetType,
  ffi.Pointer<ffi.Int8> lpProviderName,
  ffi.Pointer<ffi.Uint64> lpBufferSize,
) {
  return (_WNetGetProviderNameA ??= _dylib.lookupFunction<
      _c_WNetGetProviderNameA,
      _dart_WNetGetProviderNameA>('WNetGetProviderNameA'))(
    dwNetType,
    lpProviderName,
    lpBufferSize,
  );
}