<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As IntPtr, <Out()> ByVal lpBuffer As IntPtr, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As HandleRef, <Out()> ByVal lpBuffer As IntPtr, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As SafeFileHandle, <Out()> ByVal lpBuffer As IntPtr, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As IntPtr, <Out()> ByRef lpBuffer As WIN32_STREAM_ID, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As HandleRef, <Out()> ByRef lpBuffer As WIN32_STREAM_ID, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True, SetLastError:=True)> _
Public Shared Function BackupRead(ByVal hFile As SafeFileHandle, <Out()> ByRef lpBuffer As WIN32_STREAM_ID, ByVal nNumberOfBytesToRead As Integer, <Out()> ByRef lpNumberOfBytesRead As Integer, ByVal bAbort As Boolean, ByVal bProcessSecurity As Boolean, <Out()> ByRef lpContext As IntPtr) As Boolean
End Function