Skip to content

Commit 351e02d

Browse files
Tang Chengbluetech
Tang Cheng
authored andcommitted
fix macos SCardControl function link to SCardControl132 which has ctl_code parameter
1 parent b397cc8 commit 351e02d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pcsc-sys/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ extern "system" {
396396
pcbRecvLength: *mut DWORD,
397397
) -> LONG;
398398

399+
#[cfg_attr(target_os = "macos", link_name = "SCardControl132")]
399400
pub fn SCardControl(
400401
hCard: SCARDHANDLE,
401402
dwControlCode: DWORD,

0 commit comments

Comments
 (0)