// Maps FFI prototypes onto the corresponding Win32 API function calls

// THIS FILE IS GENERATED AUTOMATICALLY AND SHOULD NOT BE EDITED DIRECTLY.

// ignore_for_file: unused_import, non_constant_identifier_names
// ignore_for_file: constant_identifier_names, camel_case_types

import 'dart:ffi';

import 'package:ffi/ffi.dart';

import '../callbacks.dart';
import '../combase.dart';
import '../guid.dart';
import '../structs.g.dart';
import '../variant.dart';

final _scarddlg = DynamicLibrary.open('scarddlg.dll');

/// The SCardUIDlgSelectCard function displays the smart card Select Card
/// dialog box.
///
/// ```c
/// LONG SCardUIDlgSelectCardW(
///   LPOPENCARDNAMEW_EX unnamedParam1
/// );
/// ```
/// {@category winscard}
int SCardUIDlgSelectCard(Pointer<OPENCARDNAME_EX> param0) =>
    _SCardUIDlgSelectCard(param0);

final _SCardUIDlgSelectCard = _scarddlg.lookupFunction<
    Int32 Function(Pointer<OPENCARDNAME_EX> param0),
    int Function(Pointer<OPENCARDNAME_EX> param0)>('SCardUIDlgSelectCardW');
