25 references to UnsafeNativeMethods
Microsoft.VisualBasic.Core (25)
Microsoft\VisualBasic\CompilerServices\Utils.vb (2)
33If UnsafeNativeMethods.SetLocalTime(systime) = 0 Then 56If UnsafeNativeMethods.SetLocalTime(systime) = 0 Then
Microsoft\VisualBasic\Conversion.vb (7)
968If UnsafeNativeMethods.VarParseNumFromStr(StringValue, LCID_US_ENGLISH, LOCALE_NOUSEROVERRIDE, numprsPtr, DigitArray) < 0 Then 1020Return UnsafeNativeMethods.VarNumFromParseNum(numprsPtr, DigitArray, dwVtBits) 1027Value = UnsafeNativeMethods.VarNumFromParseNum(numprsPtr, DigitArray, VTBIT_I4) 1035UnsafeNativeMethods.VariantChangeType(Value, Value, 0, CType(vtInput, Int16)) 1039Return UnsafeNativeMethods.VarNumFromParseNum(numprsPtr, DigitArray, ShiftVTBits(vtInput)) 1047Value = UnsafeNativeMethods.VarNumFromParseNum(numprsPtr, DigitArray, ShiftVTBits(vtSuffix)) 1053UnsafeNativeMethods.VariantChangeType(Value, Value, 0, CType(vtInput, Int16))
Microsoft\VisualBasic\FileSystem.vb (2)
477Return (CLng(UnsafeNativeMethods.GetLogicalDrives()) And CLng(&H2 ^ iDrive)) <> 0 1209Result = UnsafeNativeMethods.MoveFile(OldPath, NewPath)
Microsoft\VisualBasic\Information.vb (10)
162Dim pTypeInfo As UnsafeNativeMethods.ITypeInfo = Nothing 171Dim pProvideClassInfo As UnsafeNativeMethods.IProvideClassInfo = TryCast(VarName, UnsafeNativeMethods.IProvideClassInfo) 191Dim pDispatch As UnsafeNativeMethods.IDispatch = TryCast(VarName, UnsafeNativeMethods.IDispatch) 195hr = pDispatch.GetTypeInfo(0, UnsafeNativeMethods.LCID_US_ENGLISH, pTypeInfo) 558Dim pTypeInfo As UnsafeNativeMethods.ITypeInfo = Nothing 565Dim pDispatch As UnsafeNativeMethods.IDispatch = TryCast(VarName, UnsafeNativeMethods.IDispatch) 568hr = pDispatch.GetTypeInfo(0, UnsafeNativeMethods.LCID_US_ENGLISH, pTypeInfo)
Microsoft\VisualBasic\Interaction.vb (1)
123UnsafeNativeMethods.MessageBeep(0)
Microsoft\VisualBasic\Strings.vb (3)
2211lenDest = UnsafeNativeMethods.LCMapStringA(lcid, dwMapFlags, bytesSrc, bytesSrc.Length, Nothing, 0) 2217lenDest = UnsafeNativeMethods.LCMapStringA(lcid, dwMapFlags, bytesSrc, bytesSrc.Length, bytesDest, lenDest) 2227lenDest = UnsafeNativeMethods.LCMapString(lcid, dwMapFlags, sSrc, length, sDest, length)