anchor.diff:                Pointer<Uint32> pcchReaders)>('SCardListReadersW');
         expect(SCardListReaders, isA<Function>());
       });
  -    test('Can instantiate SCardListReadersWithDeviceInstanceId', () {
  -      final winscard = DynamicLibrary.open('winscard.dll');
  -      final SCardListReadersWithDeviceInstanceId = winscard.lookupFunction<
  -              Int32 Function(IntPtr hContext, Pointer<Utf16> szDeviceInstanceId,
  -                  Pointer<Utf16> mszReaders, Pointer<Uint32> pcchReaders),
  -              int Function(int hContext, Pointer<Utf16> szDeviceInstanceId,
  -                  Pointer<Utf16> mszReaders, Pointer<Uint32> pcchReaders)>(
  -          'SCardListReadersWithDeviceInstanceIdW');
  -      expect(SCardListReadersWithDeviceInstanceId, isA<Function>());
  -    });
  +    if (windowsBuildNumber >= 9200) {
  +      test('Can instantiate SCardListReadersWithDeviceInstanceId', () {
  +        final winscard = DynamicLibrary.open('winscard.dll');
  +        final SCardListReadersWithDeviceInstanceId = winscard.lookupFunction<
  +            Int32 Function(IntPtr hContext, Pointer<Utf16> szDeviceInstanceId,
  +                Pointer<Utf16> mszReaders, Pointer<Uint32> pcchReaders),
  +            int Function(
  +                int hContext,
  +                Pointer<Utf16> szDeviceInstanceId,
  +                Pointer<Utf16> mszReaders,
  +                Pointer<Uint32>
  +                    pcchReaders)>('SCardListReadersWithDeviceInstanceIdW');
  +        expect(SCardListReadersWithDeviceInstanceId, isA<Function>());
  +      });
  +    }
       test('Can instantiate SCardLocateCards', () {
         final winscard = DynamicLibrary.open('winscard.dll');
         final SCardLocateCards = winscard.lookupFunction<
  
positive.code:           int Function(int hWnd)>('IsIconic');
        expect(IsIconic, isA<Function>());
      });
      test('Can instantiate IsImmersiveProcess', () {
        final user32 = DynamicLibrary.open('user32.dll');
        final IsImmersiveProcess = user32.lookupFunction<
            Int32 Function(IntPtr hProcess),
            int Function(int hProcess)>('IsImmersiveProcess');
        expect(IsImmersiveProcess, isA<Function>());
      });
      test('Can instantiate IsMenu', () {
        final user32 = DynamicLibrary.open('user32.dll');
        final IsMenu = user32.lookupFunction<Int32 Function(IntPtr hMenu),
  
negative.code:               Pointer<Uint32> pcchProvider)>('SCardGetCardTypeProviderNameW');
        expect(SCardGetCardTypeProviderName, isA<Function>());
      });
      if (windowsBuildNumber >= 9200) {
        test('Can instantiate SCardGetDeviceTypeId', () {
          final winscard = DynamicLibrary.open('winscard.dll');
          final SCardGetDeviceTypeId = winscard.lookupFunction<
              Int32 Function(IntPtr hContext, Pointer<Utf16> szReaderName,
                  Pointer<Uint32> pdwDeviceTypeId),
              int Function(int hContext, Pointer<Utf16> szReaderName,
                  Pointer<Uint32> pdwDeviceTypeId)>('SCardGetDeviceTypeIdW');
          expect(SCardGetDeviceTypeId, isA<Function>());
        });
      }
      test('Can instantiate SCardGetProviderId', () {
        final winscard = DynamicLibrary.open('winscard.dll');
        final SCardGetProviderId = winscard.lookupFunction<
  