Correct calling convention
This commit is contained in:
@@ -326,7 +326,7 @@ impl Default for IO_STATUS_BLOCK {
|
||||
}
|
||||
}
|
||||
|
||||
pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "C" fn(
|
||||
pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn(
|
||||
dwErrorCode: DWORD,
|
||||
dwNumberOfBytesTransfered: DWORD,
|
||||
lpOverlapped: *mut OVERLAPPED,
|
||||
|
||||
@@ -282,7 +282,7 @@ impl AnonPipe {
|
||||
}
|
||||
|
||||
// STEP 3: The callback.
|
||||
unsafe extern "C" fn callback(
|
||||
unsafe extern "system" fn callback(
|
||||
dwErrorCode: u32,
|
||||
dwNumberOfBytesTransfered: u32,
|
||||
lpOverlapped: *mut c::OVERLAPPED,
|
||||
|
||||
Reference in New Issue
Block a user