Skip to content

Commit

Permalink
fix macos SCardControl function link to SCardControl132 which has ctl…
Browse files Browse the repository at this point in the history
…_code parameter
  • Loading branch information
Tang Cheng authored and bluetech committed Apr 18, 2024
1 parent b397cc8 commit 351e02d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcsc-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ extern "system" {
pcbRecvLength: *mut DWORD,
) -> LONG;

#[cfg_attr(target_os = "macos", link_name = "SCardControl132")]
pub fn SCardControl(
hCard: SCARDHANDLE,
dwControlCode: DWORD,
Expand Down

0 comments on commit 351e02d

Please sign in to comment.