Remove LPCVOID
This commit is contained in:
parent
286c3270b4
commit
8052fb8f3c
@ -21,7 +21,6 @@ pub type DWORD = c_ulong;
|
||||
pub type WCHAR = u16;
|
||||
pub type ULONG = c_ulong;
|
||||
|
||||
pub type LPCVOID = *const c_void;
|
||||
pub type LPOVERLAPPED = *mut OVERLAPPED;
|
||||
pub type LPSECURITY_ATTRIBUTES = *mut SECURITY_ATTRIBUTES;
|
||||
pub type LPVOID = *mut c_void;
|
||||
|
@ -1425,7 +1425,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
|
||||
_dwCallbackReason: c::DWORD,
|
||||
_hSourceFile: c::HANDLE,
|
||||
_hDestinationFile: c::HANDLE,
|
||||
lpData: c::LPCVOID,
|
||||
lpData: *const c_void,
|
||||
) -> c::DWORD {
|
||||
if dwStreamNumber == 1 {
|
||||
*(lpData as *mut i64) = StreamBytesTransferred;
|
||||
|
Loading…
x
Reference in New Issue
Block a user