131 references to tagVT
System.Windows.Forms (131)
winforms\Managed\System\WinForms\AxHost.cs (2)
7449var.vt = (short)NativeMethods.tagVT.VT_EMPTY; 7451if (hr == NativeMethods.S_OK && var.vt != (short)NativeMethods.tagVT.VT_EMPTY) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (2)
289var.vt = (short)NativeMethods.tagVT.VT_EMPTY; 291if (hr == NativeMethods.S_OK && var.vt != (short)NativeMethods.tagVT.VT_EMPTY) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (57)
328switch ((NativeMethods.tagVT)typeDesc.vt) { 330return VTToType((NativeMethods.tagVT)typeDesc.vt); 332case NativeMethods.tagVT.VT_UNKNOWN: 333case NativeMethods.tagVT.VT_DISPATCH: 338return VTToType((NativeMethods.tagVT)typeDesc.vt); 340case NativeMethods.tagVT.VT_USERDEFINED: 346case NativeMethods.tagVT.VT_PTR: 364if (refTypeDesc.vt == (int)NativeMethods.tagVT.VT_VARIANT) { 365return VTToType((NativeMethods.tagVT)refTypeDesc.vt); 416return VTToType(NativeMethods.tagVT.VT_DISPATCH); 419return VTToType(NativeMethods.tagVT.VT_UNKNOWN); 939private static Type VTToType(NativeMethods.tagVT vt) { 941case NativeMethods.tagVT.VT_EMPTY: 942case NativeMethods.tagVT.VT_NULL: 944case NativeMethods.tagVT.VT_I1: 946case NativeMethods.tagVT.VT_UI1: 949case NativeMethods.tagVT.VT_I2: 951case NativeMethods.tagVT.VT_UI2: 955case NativeMethods.tagVT.VT_I4: 956case NativeMethods.tagVT.VT_INT: 959case NativeMethods.tagVT.VT_UI4: 960case NativeMethods.tagVT.VT_UINT: 963case NativeMethods.tagVT.VT_I8: 965case NativeMethods.tagVT.VT_UI8: 968case NativeMethods.tagVT.VT_R4: 971case NativeMethods.tagVT.VT_R8: 974case NativeMethods.tagVT.VT_CY: 976case NativeMethods.tagVT.VT_DATE: 978case NativeMethods.tagVT.VT_BSTR: 979case NativeMethods.tagVT.VT_LPSTR: 980case NativeMethods.tagVT.VT_LPWSTR: 983case NativeMethods.tagVT.VT_DISPATCH: 985case NativeMethods.tagVT.VT_UNKNOWN: 988case NativeMethods.tagVT.VT_ERROR: 989case NativeMethods.tagVT.VT_HRESULT: 992case NativeMethods.tagVT.VT_BOOL: 995case NativeMethods.tagVT.VT_VARIANT: 997case NativeMethods.tagVT.VT_CLSID: 1000case NativeMethods.tagVT.VT_FILETIME: 1003case NativeMethods.tagVT.VT_USERDEFINED: 1011case NativeMethods.tagVT.VT_VOID: 1012case NativeMethods.tagVT.VT_PTR: 1013case NativeMethods.tagVT.VT_SAFEARRAY: 1014case NativeMethods.tagVT.VT_CARRAY: 1016case NativeMethods.tagVT.VT_RECORD: 1017case NativeMethods.tagVT.VT_BLOB: 1018case NativeMethods.tagVT.VT_STREAM: 1019case NativeMethods.tagVT.VT_STORAGE: 1020case NativeMethods.tagVT.VT_STREAMED_OBJECT: 1021case NativeMethods.tagVT.VT_STORED_OBJECT: 1022case NativeMethods.tagVT.VT_BLOB_OBJECT: 1023case NativeMethods.tagVT.VT_CF: 1024case NativeMethods.tagVT.VT_BSTR_BLOB: 1025case NativeMethods.tagVT.VT_VECTOR: 1026case NativeMethods.tagVT.VT_ARRAY: 1027case NativeMethods.tagVT.VT_BYREF: 1028case NativeMethods.tagVT.VT_RESERVED:
winforms\Managed\System\WinForms\NativeMethods.cs (70)
4271return 0 != (vt & (int)tagVT.VT_BYREF); 4276if ((this.vt == (int)tagVT.VT_UNKNOWN || this.vt == (int)tagVT.VT_DISPATCH) && this.data1 != IntPtr.Zero) { 4280if (this.vt == (int)tagVT.VT_BSTR && this.data1 != IntPtr.Zero) { 4285this.vt = (int)tagVT.VT_EMPTY; 4296v.vt = (int)tagVT.VT_EMPTY; 4304v.vt = (int)tagVT.VT_BOOL; 4307v.vt = (int)tagVT.VT_UI1; 4311v.vt = (int)tagVT.VT_UI2; 4315v.vt = (int)tagVT.VT_BSTR; 4319v.vt = (int)tagVT.VT_I2; 4323v.vt = (int)tagVT.VT_I4; 4327v.vt = (int)tagVT.VT_I8; 4331v.vt = (int)tagVT.VT_CY; 4337v.vt = (int)tagVT.VT_DECIMAL; 4342v.vt = (int)tagVT.VT_R8; 4346v.vt = (int)tagVT.VT_R4; 4350v.vt = (int)tagVT.VT_DATE; 4354v.vt = (int)tagVT.VT_I1; 4358v.vt = (int)tagVT.VT_UI2; 4362v.vt = (int)tagVT.VT_UI4; 4366v.vt = (int)tagVT.VT_UI8; 4370v.vt = (t == typeof(UnsafeNativeMethods.IDispatch) ? (short)tagVT.VT_DISPATCH : (short)tagVT.VT_UNKNOWN); 4408int vtType = (int)(this.vt & (short)tagVT.VT_TYPEMASK); 4411case (int)tagVT.VT_EMPTY: 4413case (int)tagVT.VT_NULL: 4416case (int)tagVT.VT_I1: 4422case (int)tagVT.VT_UI1: 4429case (int)tagVT.VT_I2: 4435case (int)tagVT.VT_UI2: 4441case (int)tagVT.VT_I4: 4442case (int)tagVT.VT_INT: 4448case (int)tagVT.VT_UI4: 4449case (int)tagVT.VT_UINT: 4455case (int)tagVT.VT_I8: 4456case (int)tagVT.VT_UI8: 4464if (vt == (int)tagVT.VT_I8) { 4477case (int)tagVT.VT_R4: 4478case (int)tagVT.VT_R8: 4483case (int)tagVT.VT_CY: 4487case (int)tagVT.VT_DATE: 4490case (int)tagVT.VT_BSTR: 4491case (int)tagVT.VT_LPWSTR: 4494case (int)tagVT.VT_LPSTR: 4497case (int)tagVT.VT_DISPATCH: 4498case (int)tagVT.VT_UNKNOWN: 4503case (int)tagVT.VT_HRESULT: 4506case (int)tagVT.VT_DECIMAL: 4510case (int)tagVT.VT_BOOL: 4513case (int)tagVT.VT_VARIANT: 4516case (int)tagVT.VT_CLSID: 4521case (int)tagVT.VT_FILETIME: 4525case (int)tagVT.VT_USERDEFINED: 4528case (int)tagVT.VT_ARRAY: 4532case (int)tagVT.VT_VOID: 4533case (int)tagVT.VT_PTR: 4534case (int)tagVT.VT_SAFEARRAY: 4535case (int)tagVT.VT_CARRAY: 4537case (int)tagVT.VT_RECORD: 4538case (int)tagVT.VT_BLOB: 4539case (int)tagVT.VT_STREAM: 4540case (int)tagVT.VT_STORAGE: 4541case (int)tagVT.VT_STREAMED_OBJECT: 4542case (int)tagVT.VT_STORED_OBJECT: 4543case (int)tagVT.VT_BLOB_OBJECT: 4544case (int)tagVT.VT_CF: 4545case (int)tagVT.VT_BSTR_BLOB: 4546case (int)tagVT.VT_VECTOR: 4547case (int)tagVT.VT_BYREF: