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