65 references to ByValTStr
mscorlib (12)
microsoft\win32\win32native.cs (8)
254
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 32)]
259
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 32)]
281
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 32)]
286
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 32)]
291
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 128)]
410
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=128)]
427
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=128)]
2808
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 128)]
system\reflection\emit\unmanagedmarshal.cs (4)
27
if (unmanagedType == UnmanagedType.
ByValTStr
||
40
return new UnmanagedMarshal(UnmanagedType.
ByValTStr
, Guid.Empty, elemCount, (UnmanagedType) 0);
85
m_unmanagedType != UnmanagedType.
ByValTStr
)
145
m_unmanagedType == UnmanagedType.
ByValTStr
)
PresentationFramework (7)
src\Framework\MS\Internal\AppModel\ShellProvider.cs (1)
75
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 260)]
src\Framework\MS\Internal\Printing\NativeMethods.cs (2)
83
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = CCHDEVICENAME)]
101
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = CCHFORMNAME)]
src\Framework\System\Windows\Standard\NativeMethods.cs (3)
1952
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 32)]
2279
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 260)]
2281
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 14)]
src\Framework\System\Windows\Standard\ShellProvider.cs (1)
333
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 260)]
System (20)
compmod\microsoft\win32\NativeMethods.cs (1)
708
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 128)]
net\System\Net\_OSSOCK.cs (2)
46
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=257)]
48
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=129)]
net\System\Net\NetworkInformation\UnSafeNetInfoNativemethods.cs (5)
80
[MarshalAs(UnmanagedType.
ByValTStr
,SizeConst=16)]
82
[MarshalAs(UnmanagedType.
ByValTStr
,SizeConst=16)]
96
[MarshalAs(UnmanagedType.
ByValTStr
,SizeConst=MAX_HOSTNAME_LEN + 4)]
98
[MarshalAs(UnmanagedType.
ByValTStr
,SizeConst=MAX_DOMAIN_NAME_LEN + 4)]
103
[MarshalAs(UnmanagedType.
ByValTStr
,SizeConst=MAX_SCOPE_ID_LEN + 4)]
net\System\Net\UnsafeNativeMethods.cs (12)
385
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxEntryName + 1)]
387
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxDeviceType + 1)]
389
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxDeviceName + 1)]
408
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxDeviceType + 1)]
410
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxDeviceName + 1)]
421
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxEntryName + 1)]
423
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxPhoneNumber + 1)]
425
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=RAS_MaxCallbackNumber + 1)]
427
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=UNLEN + 1)]
429
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=PWLEN + 1)]
431
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=DNLEN + 1)]
911
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=256)]
System.Drawing (4)
commonui\System\Drawing\Advanced\Gdiplus.cs (3)
4396
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValTStr
, SizeConst=32)]
4598
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValTStr
, SizeConst=32)]
4618
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValTStr
, SizeConst=32)]
misc\GDI\NativeMethods.cs (1)
310
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValTStr
, SizeConst=32)]
System.IO.Log (2)
System\IO\Log\UnsafeNativeMethods.cs (2)
87
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = Const.CLFS_MAX_CONTAINER_INFO)]
346
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = Const.MAX_PATH + 6)]
System.ServiceModel (3)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
1313
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 257)]
1315
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 129)]
System\ServiceModel\Transactions\OletxTransactionFormatter.cs (1)
87
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 40)]
System.Web (2)
UnsafeNativeMethods.cs (2)
165
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=260)]
167
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=14)]
System.Windows.Forms (9)
misc\GDI\NativeMethods.cs (1)
310
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.
ByValTStr
, SizeConst=32)]
winforms\Managed\System\WinForms\NativeMethods.cs (8)
2862
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = CCHDEVICENAME)]
2878
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = CCHFORMNAME)]
3702
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=32)]
3764
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=128)]
3768
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 256)]
3771
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 64)]
5118
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=80)]
5131
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=80)]
UIAutomationClientsideProviders (1)
MS\Win32\NativeMethods.cs (1)
676
[MarshalAs (UnmanagedType.
ByValTStr
, SizeConst = 32)]
WindowsBase (5)
Base\MS\Internal\Interop\NativeStructs.cs (2)
166
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 260)]
168
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 14)]
Shared\MS\Win32\NativeMethodsCLR.cs (1)
3727
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=32)]
Shared\MS\Win32\NativeMethodsOther.cs (2)
101
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst=128)]
1690
[MarshalAs(UnmanagedType.
ByValTStr
, SizeConst = 260)] internal string CachePath;