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