448 references to Value
System.Drawing.Common (1)
System\Drawing\Icon.cs (1)
808
iPicture.
Value
->SaveAsFile(iStream, (BOOL)(-1), pCbSize: null).ThrowOnFailure();
System.Private.Windows.Core (39)
System\Private\Windows\Ole\ClipboardCore.cs (1)
298
dataObject = TDataObject.Create(proxyDataObject.
Value
);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (13)
48
return nativeDataObject.
Value
->DAdvise(pformatetc, advf, pAdvSink, pdwConnection);
54
return nativeDataObject.
Value
->DUnadvise(dwConnection);
60
return nativeDataObject.
Value
->EnumDAdvise(ppenumAdvise);
66
return nativeDataObject.
Value
->EnumFormatEtc(dwDirection, ppenumFormatEtc);
72
return nativeDataObject.
Value
->GetData(pformatetcIn, pmedium);
78
return nativeDataObject.
Value
->GetDataHere(pformatetc, pmedium);
84
return nativeDataObject.
Value
->QueryGetData(pformatetc);
90
return nativeDataObject.
Value
->GetCanonicalFormatEtc(pformatectIn, pformatetcOut);
96
return nativeDataObject.
Value
->SetData(pformatetc, pmedium, fRelease);
678
nativeDataObject.
Value
->EnumFormatEtc((uint)DATADIR.DATADIR_GET, enumFORMATETC).AssertSuccess();
688
enumFORMATETC.
Value
->Reset();
692
while (enumFORMATETC.
Value
->Next(1, &formatEtc) == HRESULT.S_OK)
773
HRESULT hr = nativeDataObject.
Value
->QueryGetData(formatEtc);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (9)
34
return nativeDataObject.
Value
->DAdvise(nativeFormat, (uint)advf, nativeAdviseSink, (uint*)pConnection);
41
nativeDataObject.
Value
->DUnadvise((uint)connection).ThrowOnFailure();
48
HRESULT result = nativeDataObject.
Value
->EnumDAdvise(nativeStatData);
57
if (nativeDataObject.
Value
->EnumFormatEtc((uint)direction, nativeFormat).Failed)
68
HRESULT result = nativeDataObject.
Value
->GetCanonicalFormatEtc(Unsafe.As<FORMATETC, Com.FORMATETC>(ref formatIn), out Com.FORMATETC nativeFormat);
78
nativeDataObject.
Value
->GetData(&nativeFormat, &nativeMedium).ThrowOnFailure();
88
nativeDataObject.
Value
->GetDataHere(&nativeFormat, &nativeMedium).ThrowOnFailure();
96
return nativeDataObject.
Value
->QueryGetData(Unsafe.As<FORMATETC, Com.FORMATETC>(ref format));
104
HRESULT result = nativeDataObject.
Value
->SetData(&nativeFormat, &nativeMedium, release);
System\Private\Windows\Ole\DragDropHelper.cs (6)
76
dropTargetHelper.
Value
->DragEnter(targetWindowHandle, dataObjectScope, in point, effect);
90
dropTargetHelper.
Value
->DragLeave();
106
dropTargetHelper.
Value
->DragOver(&point, (DROPEFFECT)(uint)e.Effect);
123
dropTargetHelper.
Value
->Drop(dataObjectScope, in point, (DROPEFFECT)(uint)e.Effect);
291
if (dragSourceHelper.
Value
->SetFlags((uint)DSH_FLAGS.DSH_ALLOWDROPDESCRIPTIONTEXT).Failed)
298
if (dragSourceHelper.
Value
->InitializeFromBitmap(shDragImage, dataObjectScope).Failed)
Windows\Win32\System\Com\AgileComPointer.cs (4)
108
return currentUnknown.
Value
== otherUnknown.
Value
;
116
return currentUnknown.
Value
== otherUnknown.
Value
;
Windows\Win32\System\Com\ComHelpers.cs (4)
167
where TInterface : unmanaged, IComIID => TryGetObjectForIUnknown(comScope.
Value
, out @object);
268
return ccw.
Value
== unknown;
294
where TInterface : unmanaged, IComIID => GetObjectForIUnknown(comScope.
Value
);
360
typelib.
Value
->GetTypeInfoOfGuid(interfaceId, typeInfo).ThrowOnFailure();
Windows\Win32\System\Com\ComScope.cs (2)
63
hr = ((ComUnknown*)
Value
)->QueryInterface(IID.Get<TTo>(), scope);
73
((ComUnknown*)
Value
)->QueryInterface(IID.Get<TTo>(), scope).ThrowOnFailure();
System.Windows.Forms (392)
System\Windows\Forms\Accessibility\AccessibleObject.cs (20)
301
result = accessible.
Value
->get_accParent(&dispatch);
455
result = accessible.
Value
->get_accFocus(out VARIANT focus);
523
result = accessible.
Value
->get_accSelection(out VARIANT selection);
558
result = accessible.
Value
->accHitTest(x, y, out VARIANT child);
1159
? accessible.GetInterface().
Value
1600
return accessible.
Value
->accDoDefaultAction(varChild);
1675
return accessible.
Value
->accHitTest(xLeft, yTop, pvarChild);
1727
return accessible.
Value
->accLocation(pxLeft, pyTop, pcxWidth, pcyHeight, varChild);
1779
return accessible.
Value
->accNavigate(navDir, varStart, pvarEndUpAt);
1814
return accessible.
Value
->accSelect(flagsSelect, varChild);
1829
result = accessible.
Value
->accDoDefaultAction((VARIANT)(int)PInvoke.CHILDID_SELF);
1881
result = accessible.
Value
->get_accChildCount(out int count);
1889
return accessible.
Value
->get_accChild(varChild, ppdispChild);
1925
result = accessible.
Value
->get_accChildCount(pcountChildren);
2352
return accessible.
Value
->get_accSelection(pvarChildren);
2543
return oleWindow.
Value
->GetWindow(phwnd);
2568
return oleWindow.
Value
->ContextSensitiveHelp(fEnterMode);
2638
result = accessible.
Value
->accNavigate((int)navdir, CHILDID_SELF, out VARIANT endUpAt);
2651
result = accessible.
Value
->accSelect((int)flags, CHILDID_SELF);
2685
return accessible.GetInterface<IDispatch>().
Value
;
System\Windows\Forms\Accessibility\AccessibleObject.EnumVariantObject.cs (6)
50
enumVariant.
Value
->Reset();
66
enumVariant.
Value
->Skip(celt);
131
enumVariant.
Value
->Next(celt, rgVar, &fetched);
171
enumVariant.
Value
->Reset();
172
enumVariant.
Value
->Skip(i);
173
enumVariant.
Value
->Next(1, rgVar + i, &fetched);
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (15)
35
result = accessible.
Value
->accLocation(
60
result = accessible.
Value
->get_accDefaultAction(child, &bstr);
79
result = accessible.
Value
->accDoDefaultAction(child);
94
accessible.
Value
->get_accDescription(child, &description);
114
result = accessible.
Value
->get_accHelp(child, &bstr);
134
result = accessible.
Value
->get_accKeyboardShortcut(child, &bstr);
154
result = accessible.
Value
->get_accName(child, &bstr);
176
result = accessible.
Value
->put_accName(child, name);
193
result = accessible.
Value
->get_accRole(child, &role);
212
result = accessible.
Value
->get_accState(child, &state);
230
result = accessible.
Value
->get_accValue(child, &bstr);
246
result = accessible.
Value
->put_accValue(child, value);
267
result = accessible.
Value
->get_accHelpTopic(&file, child, out int topicId);
286
result = accessible.
Value
->accSelect((int)flags, child);
297
result = accessible.
Value
->get_accChildCount(out int count);
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (2)
489
inPlaceObject.
Value
->UIDeactivate().AssertSuccess();
666
hr = oleObject.
Value
->GetClientSite(clientSite);
System\Windows\Forms\ActiveX\AxHost.AxPerPropertyBrowsingEnum.cs (1)
103
HRESULT hr = propertyBrowsing.
Value
->GetPredefinedValue(_target.Dispid, cookie, &var);
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (2)
141
if (propertyBrowsing.
Value
->MapPropertyToPage(dispid, &rval).Succeeded)
298
hr = propertyBrowsing.
Value
->GetPredefinedStrings(dispid, &caStrings, &caCookies);
System\Windows\Forms\ActiveX\AxHost.ConnectionPointCookie.cs (1)
124
hr = connectionPoint.
Value
->Unadvise(_cookie);
System\Windows\Forms\ActiveX\AxHost.cs (47)
243
HRESULT hr = oleObject.
Value
->GetMiscStatus(DVASPECT.DVASPECT_CONTENT, out OLEMISC bits);
808
oleControl.
Value
->OnAmbientPropertyChange(dispid).AssertSuccess();
1124
HRESULT hr = oleObject.
Value
->SetExtent(DVASPECT.DVASPECT_CONTENT, (SIZE*)&size);
1132
oleObject.
Value
->GetExtent(DVASPECT.DVASPECT_CONTENT, (SIZE*)&size).AssertSuccess();
1133
oleObject.
Value
->SetExtent(DVASPECT.DVASPECT_CONTENT, (SIZE*)&size).AssertSuccess();
1143
oleObject.
Value
->GetExtent(DVASPECT.DVASPECT_CONTENT, (SIZE*)&size).AssertSuccess();
1164
inPlaceObject.
Value
->SetObjectRects(&posRect, &clipRect).ThrowOnFailure();
1477
return inPlaceObject.
Value
->InPlaceDeactivate();
1696
hr = activeObject.
Value
->TranslateAccelerator(&win32Message);
1746
if (oleControl.
Value
->GetControlInfo(&ctlInfo).Failed)
1770
oleControl.
Value
->OnMnemonic(&msg).AssertSuccess();
1882
persistStream.
Value
->Save(stream, fClearDirty: true).AssertSuccess();
1887
persistStreamInit.
Value
->Save(stream, fClearDirty: true).AssertSuccess();
1909
persistPropBag.
Value
->Save(propertyBag, fClearDirty: true, fSaveAllProperties: true).AssertSuccess();
2033
hr = persistStream.
Value
->IsDirty();
2040
hr = persistStreamInit.
Value
->IsDirty();
2047
hr = persistStorage.
Value
->IsDirty();
2151
oleObject.
Value
->DoVerb(
2168
oleControl.
Value
->FreezeEvents(true).AssertSuccess();
2173
oleControl.
Value
->FreezeEvents(false).AssertSuccess();
2187
return inPlaceObject.
Value
->UIDeactivate();
2242
hr = factory.
Value
->GetLicInfo(&licInfo);
2246
factory.
Value
->RequestLicKey(0, &key);
2284
hr = factory.
Value
->CreateInstanceLic(null, null, IID.Get<IUnknown>(), new BSTR(license), unknown);
2347
hr = categorizeProperties.
Value
->MapPropertyToCategory(dispid, &propcat);
2366
hr = categorizeProperties.
Value
->GetCategoryName(propcat, (int)PInvokeCore.GetThreadLocale(), &name);
2746
persistStreamInit.
Value
->InitNew().AssertSuccess();
2762
persistStoragePtr.
Value
->InitNew(storage).AssertSuccess();
2770
persistPropBag.
Value
->InitNew().AssertSuccess();
2786
persistStream.
Value
->Load(stream).AssertSuccess();
2798
persistStreamInit.
Value
->Load(stream).AssertSuccess();
2822
persistStorage.
Value
->Load(storage).AssertSuccess();
2835
persistPropBag.
Value
->Load(propBag, pErrorLog: null).AssertSuccess();
2943
return pages.
Value
->GetPages(&uuids).Succeeded && uuids.cElems > 0;
3011
if (hr.Failed || pages.
Value
->GetPages(&uuids).Failed || uuids.cElems == 0)
3137
if (inPlaceObject.
Value
->GetWindow(&hwnd).Succeeded)
3417
oleObject.
Value
->SetClientSite(null).AssertSuccess();
3471
oleObject.
Value
->SetClientSite(clientSite).AssertSuccess();
3480
oleObject.
Value
->SetClientSite(clientSite).AssertSuccess();
3765
if ((bool)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_BOLD))
3770
if ((bool)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_ITALIC))
3775
if ((bool)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_UNDER))
3780
if ((bool)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_STRIKE))
3785
if ((short)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_WEIGHT) >= 700)
3790
using BSTR name = (BSTR)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_NAME);
3794
(float)(CY)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_SIZE),
3797
(byte)(short)dispatch.
Value
->GetProperty(PInvokeCore.DISPID_FONT_CHARSET));
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (3)
307
if (inPlaceObject.
Value
->GetWindow(&hwnd).Succeeded)
439
return inPlaceObject.
Value
->UIDeactivate();
462
inPlaceObject.
Value
->SetObjectRects(lprcPosRect, &clipRect).ThrowOnFailure();
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
266
storage.
Value
->Commit(0);
273
lockBytes.
Value
->Stat(out STATSTG stat, (uint)STATFLAG.STATFLAG_NONAME);
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
61
return hr.Failed ? DefaultFont : Font.FromHfont(nativeFont.
Value
->hFont);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (29)
216
property.Value = Font.FromHfont(font.
Value
->hFont);
307
return adviseHolder.
Value
->Advise(pAdvSink, token);
324
clientSite.
Value
->SaveObject();
598
hr = dispatch.
Value
->TryGetProperty(dispid, &property, PInvoke.LCID.USER_DEFAULT.RawValue);
799
hr = inPlaceSite.
Value
->CanInPlaceActivate();
810
inPlaceSite.
Value
->OnInPlaceActivate();
825
hr = inPlaceSite.
Value
->GetWindow(&hwndParent);
839
inPlaceSite.
Value
->GetWindowContext(
864
clientSite.
Value
->ShowObject();
885
inPlaceSite.
Value
->OnUIActivate();
899
inPlaceFrame.
Value
->SetActiveObject(activeObject, (PCWSTR)null);
903
inPlaceUiWindow.
Value
->SetActiveObject(activeObject, (PCWSTR)null);
907
hr = inPlaceFrame.
Value
->SetBorderSpace(null);
918
hr = inPlaceUiWindow.
Value
->SetBorderSpace(null);
955
inPlaceSite.
Value
->OnInPlaceDeactivate();
1317
HRESULT hr = inPlaceFrame.
Value
->SetBorderSpace(null);
1335
controlSite.
Value
->OnFocus(focus);
1422
if (hr.Failed || container.
Value
->FindConnectionPoint(eventInterface.GUID, connectionPoint).Failed)
1427
hr = connectionPoint.
Value
->Advise(pQaContainer->pUnkEventSink, out pQaControl->dwEventCookie);
1596
holder.
Value
->SendOnSave();
1709
clientSite.
Value
->OnPosRectChange(&posRect);
1733
clientSite.
Value
->RequestNewObjectLayout();
1925
return controlSite.
Value
->TranslateAccelerator(lpmsg, keyState);
1943
window.
Value
->SetActiveObject(null, (PCWSTR)null);
1952
frame.
Value
->SetActiveObject(null, (PCWSTR)null);
1960
inPlaceSite.
Value
->OnUIDeactivate(fUndoable: BOOL.FALSE);
1976
return holder.
Value
->Unadvise(dwConnection);
2024
inPlaceSite.
Value
->OnPosRectChange(&rect);
2065
controlSite.
Value
->OnControlInfoChanged();
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (1)
41
clientSite.
Value
->GetContainer(container);
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (1)
158
*ppClientSite = ActiveXInstance.GetClientSite().
Value
;
System\Windows\Forms\Application.ComponentManager.cs (7)
167
component.
Value
->OnEnterState(uStateID, true);
187
component.
Value
->OnEnterState(uStateID, false);
233
if (!component.
Value
->FContinueMessageLoop(uReason, pvLoopData, &msg))
257
if (!component.
Value
->FPreTranslateMessage(&msg))
279
continueIdle |= idleComponent.
Value
->FDoIdle(msoidlef.All);
284
if (!component.
Value
->FContinueMessageLoop(uReason, pvLoopData, pMsgPeeked: null))
391
*ppic = component.GetInterface().
Value
;
System\Windows\Forms\Application.ComponentThreadContext.cs (2)
114
if (serviceProvider.
Value
->QueryService(&sid, &iid, serviceHandle).Failed || serviceHandle.IsNull)
246
return ComHelpers.WrapsManagedObject(this, component.
Value
);
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (1)
25
hr = dispatch.
Value
->Invoke(
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (4)
21
hr = propertyBrowsing.
Value
->MapPropertyToPage(PInvoke.MEMBERID_NIL, &guid);
34
hr = propertyPages.
Value
->GetPages(&uuids);
59
hr = propertyBrowsing.
Value
->MapPropertyToPage(PInvoke.MEMBERID_NIL, &guid);
90
hr = propertyPages.
Value
->GetPages(&uuids);
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (1)
40
HFONT fontHandle = iFont.
Value
->hFont;
System\Windows\Forms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (2)
23
if (categorizeProperties.
Value
->MapPropertyToCategory(dispid, &categoryId).Failed)
50
return categorizeProperties.
Value
->GetCategoryName(categoryId, (int)PInvokeCore.GetThreadLocale(), &categoryName).Succeeded
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
39
Attribute[] attributes = GetComponentAttributes(propertyBrowsing.
Value
, sender.DISPID);
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyBrowsingEnum.cs (1)
106
hr = ppb.
Value
->GetPredefinedValue(Target.DISPID, cookie, &variant);
System\Windows\Forms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
108
hr = propertyBrowsing.
Value
->GetPredefinedStrings(sender.DISPID, &caStrings, &caCookies);
System\Windows\Forms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (11)
22
hr = browsing.
Value
->DisplayChildProperties(property.DISPID, &hide);
64
hr = propertyBrowsing.
Value
->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), null, &helpString);
89
hr = propertyBrowsing.
Value
->HideProperty(sender.DISPID, &hide);
100
hr = propertyBrowsing.
Value
->DisplayChildProperties(sender.DISPID, &display);
118
hr = propertyBrowsing.
Value
->CanResetPropertyValue(sender.DISPID, &canReset);
136
hr = propertyBrowsing.
Value
->GetLocalizedPropertyInfo(sender.DISPID, PInvokeCore.GetThreadLocale(), &name, null);
154
hr = propertyBrowsing.
Value
->IsPropertyReadOnly(sender.DISPID, &readOnly);
175
hr = propertyBrowsing.
Value
->DisplayChildProperties(sender.DISPID, &result);
193
hr = propertyBrowsing.
Value
->CanResetPropertyValue(dispid, &canReset);
196
propertyBrowsing.
Value
->ResetPropertyValue(dispid);
211
hr = propertyBrowsing.
Value
->HasDefaultValue(sender.DISPID, &isDefault);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PictureConverter.cs (4)
49
picture.
Value
->get_Handle(out OLE_HANDLE handle).ThrowOnFailure();
61
picture.
Value
->get_Type(out PICTYPE type).ThrowOnFailure();
123
picture.
Value
->get_Handle(out _lastNativeHandle).ThrowOnFailure();
125
picture.
Value
->QueryInterface(IID.Get<IUnknown>(), (void**)&unknown).ThrowOnFailure();
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
58
hr = propertyBuilder.
Value
->ExecuteBuilder(
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (4)
620
hr = dispatch.
Value
->TryGetProperty(DISPID, &nativeValue, PInvokeCore.GetThreadLocale());
855
hr = dispatch.
Value
->SetPropertyValue(DISPID, nativeValue, out string? errorText);
876
if (iSupportErrorInfo.
Value
->InterfaceSupportsErrorInfo(IID.Get<IDispatch>()).Succeeded)
884
hr = errorInfo.
Value
->GetDescription(&description);
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
75
provideClassInfo.
Value
->GetClassInfo(&typeInfo);
84
dispatch.
Value
->GetTypeInfo(0, PInvokeCore.GetThreadLocale(), &typeInfo);
102
if (classInfo.
Value
->GetMultiTypeInfoCount(&count).Succeeded && count > 0)
108
if (classInfo.
Value
->GetInfoOfIndex(
365
hr = refTypeInfo.
Value
->GetTypeAttr(&pTypeAttr);
394
refTypeInfo.
Value
->ReleaseTypeAttr(pTypeAttr);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
77
if (propertyBrowsing.
Value
->GetClassName(&className).Succeeded && !className.IsNull)
90
typeInfo.
Value
->GetDocumentation(
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
46
result = accessible.
Value
->accHitTest((int)x, (int)y, out VARIANT child);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
1671
textDocument.
Value
->Range(WindowText.Length - 1, WindowText.Length - 1, windowTextRange).ThrowOnFailure();
1674
windowTextRange.
Value
->ScrollIntoView((int)tomConstants.tomEnd).ThrowOnFailure();
1688
textDocument.
Value
->Range(selStart, selStart + selLength, selectionTextRange).ThrowOnFailure();
1689
selectionTextRange.
Value
->ScrollIntoView((int)tomConstants.tomStart).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (44)
40
_hashCode = HashCode.Combine((nint)scope.
Value
);
81
htmlDoc2.
Value
->get_activeElement(&iHtmlElement).ThrowOnFailure();
92
htmlDoc2.
Value
->get_body(&iHtmlElement).ThrowOnFailure();
103
htmlDoc2.
Value
->get_domain(&domain).ThrowOnFailure();
112
htmlDoc2.
Value
->put_domain(newValue).ThrowOnFailure();
128
htmlDoc2.
Value
->get_title(&title).ThrowOnFailure();
135
htmlDoc2.
Value
->put_title(newValue).ThrowOnFailure();
145
htmlDoc2.
Value
->get_location(htmlLocation).ThrowOnFailure();
152
htmlLocation.
Value
->get_href(&href).ThrowOnFailure();
164
htmlDoc2.
Value
->get_parentWindow(&iHTMLWindow2).ThrowOnFailure();
177
htmlDoc2.
Value
->get_bgColor(&color).ThrowOnFailure();
190
htmlDoc2.
Value
->put_bgColor(variantColor).ThrowOnFailure();
202
htmlDoc2.
Value
->get_fgColor(&color).ThrowOnFailure();
215
htmlDoc2.
Value
->put_fgColor(variantColor).ThrowOnFailure();
227
htmlDoc2.
Value
->get_linkColor(&color).ThrowOnFailure();
240
htmlDoc2.
Value
->put_linkColor(variantColor).ThrowOnFailure();
252
htmlDoc2.
Value
->get_alinkColor(&color).ThrowOnFailure();
265
htmlDoc2.
Value
->put_alinkColor(variantColor).ThrowOnFailure();
277
htmlDoc2.
Value
->get_vlinkColor(&color).ThrowOnFailure();
290
htmlDoc2.
Value
->put_vlinkColor(variantColor).ThrowOnFailure();
300
htmlDoc4.
Value
->hasFocus(&focused).ThrowOnFailure();
313
htmlDoc2.
Value
->get_cookie(&cookie).ThrowOnFailure();
320
htmlDoc2.
Value
->put_cookie(newValue).ThrowOnFailure();
330
htmlDoc3.
Value
->get_dir(&dir).ThrowOnFailure();
337
htmlDoc3.
Value
->put_dir(newValue).ThrowOnFailure();
347
htmlDoc2.
Value
->get_charset(&charset).ThrowOnFailure();
354
htmlDoc2.
Value
->put_charset(newValue).ThrowOnFailure();
364
htmlDoc2.
Value
->get_defaultCharset(&charset).ThrowOnFailure();
375
htmlDoc2.
Value
->get_all(&iHTMLElementCollection).ThrowOnFailure();
386
htmlDoc2.
Value
->get_links(&iHTMLElementCollection).ThrowOnFailure();
397
htmlDoc2.
Value
->get_images(&iHTMLElementCollection).ThrowOnFailure();
408
htmlDoc2.
Value
->get_forms(&iHTMLElementCollection).ThrowOnFailure();
424
htmlDoc2.
Value
->write(scope);
436
htmlDoc2.
Value
->execCommand(bstrCommand, showUI, variantValue, &varBool).ThrowOnFailure();
443
htmlDoc4.
Value
->focus().ThrowOnFailure();
445
htmlDoc4.
Value
->focus().ThrowOnFailure();
453
htmlDoc3.
Value
->getElementById(bstrId, &iHTMLElement).ThrowOnFailure();
461
htmlDoc2.
Value
->elementFromPoint(point.X, point.Y, &iHTMLElement).ThrowOnFailure();
470
htmlDoc3.
Value
->getElementsByTagName(bstrTagName, &iHTMLElementCollection).ThrowOnFailure();
481
htmlDoc2.
Value
->open(url, name, VARIANT.Empty, VARIANT.Empty, dispatch).ThrowOnFailure();
496
htmlDoc2.
Value
->createElement(bstrElementTag, &iHTMLElement).ThrowOnFailure();
506
HRESULT hr = htmlDoc2.
Value
->get_Script(scriptDispatch);
515
hr = scriptDispatch.
Value
->GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &dispid);
541
hr = scriptDispatch.
Value
->Invoke(
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.HtmlDocumentShim.cs (2)
59
htmlDoc3.
Value
->attachEvent(name, dispatch, &result).ThrowOnFailure();
91
htmlDoc3.
Value
->detachEvent(name, dispatch).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (58)
54
_hashCode = HashCode.Combine((nint)scope.
Value
);
65
htmlElement.
Value
->get_all(dispatch).ThrowOnFailure();
67
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLElementCollection>(), (void**)&htmlElementCollection).Succeeded
79
htmlElement.
Value
->get_children(dispatch).ThrowOnFailure();
81
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLElementCollection>(), (void**)&htmlElementCollection).Succeeded
93
htmlElement2.
Value
->get_canHaveChildren(&canHaveChildren).ThrowOnFailure();
107
htmlElement2.
Value
->get_clientLeft(&clientLeft).ThrowOnFailure();
108
htmlElement2.
Value
->get_clientTop(&clientTop).ThrowOnFailure();
109
htmlElement2.
Value
->get_clientWidth(&clientWidth).ThrowOnFailure();
110
htmlElement2.
Value
->get_clientHeight(&clientHeight).ThrowOnFailure();
122
nativeHtmlElement.
Value
->get_document(dispatch).ThrowOnFailure();
139
htmlElement3.
Value
->get_disabled(&disabled).ThrowOnFailure();
145
htmlElement3.
Value
->put_disabled(!value).ThrowOnFailure();
174
node.
Value
->get_firstChild(child).ThrowOnFailure();
177
hr = child.
Value
->QueryInterface(IID.Get<IHTMLElement>(), (void**)&iHtmlElement);
192
nativeHtmlElement.
Value
->get_id(&id).ThrowOnFailure();
199
nativeHtmlElement.
Value
->put_id(newValue).ThrowOnFailure();
209
nativeHtmlElement.
Value
->get_innerHTML(&innerHtml).ThrowOnFailure();
218
nativeHtmlElement.
Value
->put_innerHTML(newValue).ThrowOnFailure();
238
nativeHtmlElement.
Value
->get_innerText(&innerText).ThrowOnFailure();
247
nativeHtmlElement.
Value
->put_innerText(newValue).ThrowOnFailure();
290
node.
Value
->get_nextSibling(sibling).ThrowOnFailure();
293
hr = sibling.
Value
->QueryInterface(IID.Get<IHTMLElement>(), (void**)&iHtmlElement);
312
nativeHtmlElement.
Value
->get_offsetLeft(&offsetLeft).ThrowOnFailure();
313
nativeHtmlElement.
Value
->get_offsetTop(&offsetTop).ThrowOnFailure();
314
nativeHtmlElement.
Value
->get_offsetWidth(&offsetWidth).ThrowOnFailure();
315
nativeHtmlElement.
Value
->get_offsetHeight(&offsetHeight).ThrowOnFailure();
327
nativeHtmlElement.
Value
->get_offsetParent(&iHtmlElement).ThrowOnFailure();
338
nativeHtmlElement.
Value
->get_outerHTML(&outerHtml).ThrowOnFailure();
347
nativeHtmlElement.
Value
->put_outerHTML(newValue).ThrowOnFailure();
367
htmlElement.
Value
->get_outerText(&outerText).ThrowOnFailure();
376
htmlElement.
Value
->put_outerText(newValue).ThrowOnFailure();
396
htmlElement.
Value
->get_parentElement(&iHtmlElement).ThrowOnFailure();
411
htmlElement2.
Value
->get_scrollLeft(&scrollLeft).ThrowOnFailure();
412
htmlElement2.
Value
->get_scrollTop(&scrollTop).ThrowOnFailure();
413
htmlElement2.
Value
->get_scrollWidth(&scrollWidth).ThrowOnFailure();
414
htmlElement2.
Value
->get_scrollHeight(&scrollHeight).ThrowOnFailure();
426
htmlElement2.
Value
->get_scrollLeft(&scrollLeft).ThrowOnFailure();
432
htmlElement2.
Value
->put_scrollLeft(value).ThrowOnFailure();
442
htmlElement2.
Value
->get_scrollTop(&scrollTop).ThrowOnFailure();
448
htmlElement2.
Value
->put_scrollTop(value).ThrowOnFailure();
460
htmlElement.
Value
->get_style(style).ThrowOnFailure();
462
style.
Value
->get_cssText(&cssText).ThrowOnFailure();
469
htmlElement.
Value
->get_style(style).ThrowOnFailure();
471
style.
Value
->put_cssText(newValue).ThrowOnFailure();
481
htmlElement.
Value
->get_tagName(&tagName).ThrowOnFailure();
492
htmlElement2.
Value
->get_tabIndex(&tabIndex).ThrowOnFailure();
498
htmlElement2.
Value
->put_tabIndex(value).ThrowOnFailure();
524
htmlElement2.
Value
->focus().ThrowOnFailure();
542
htmlElement.
Value
->getAttribute(name, 0, &attributeValue).ThrowOnFailure();
553
htmlElement2.
Value
->getElementsByTagName(name, &iHTMLElementCollection).ThrowOnFailure();
564
htmlElement2.
Value
->insertAdjacentElement(where, insertedElement, &adjElement).ThrowOnFailure();
585
hr = scriptDispatch.
Value
->GetIDsOfNames(IID.NULL(), (PWSTR*)&n, 1, PInvokeCore.GetThreadLocale(), &dispid);
611
hr = scriptDispatch.
Value
->Invoke(
639
htmlElement2.
Value
->blur().ThrowOnFailure();
648
htmlElement3.
Value
->fireEvent(name, &eventObj, &canceled).ThrowOnFailure();
655
htmlElement.
Value
->scrollIntoView(variantAlignWithTop).ThrowOnFailure();
665
htmlElement.
Value
->setAttribute(name, variantValue, 0).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (2)
84
htmlElement2.
Value
->attachEvent(name, dispatch, &result).ThrowOnFailure();
115
htmlElement2.
Value
->detachEvent(name, dispatch).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (5)
58
htmlElementCollection.
Value
->item((VARIANT)index, (VARIANT)0, dispatch).ThrowOnFailure();
60
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
78
nativeHtmlElementCollection.
Value
->item(variantElementId, (VARIANT)0, dispatch).ThrowOnFailure();
80
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
148
nativeHtmlElementCollection.
Value
->get_length(&length).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlHistory.cs (5)
41
return omHistory.
Value
->length;
53
omHistory.
Value
->go(&oNumForward).ThrowOnFailure();
65
omHistory.
Value
->go(&oNumForward).ThrowOnFailure();
87
omHistory.
Value
->go(&loc).ThrowOnFailure();
97
omHistory.
Value
->go(&loc).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (38)
34
_hashCode = HashCode.Combine((nint)scope.
Value
);
75
htmlWindow.
Value
->get_document(htmlDoc2).ThrowOnFailure();
94
htmlWindow.
Value
->get_frames(&iHTMLFramesCollection2).ThrowOnFailure();
105
htmlWindow.
Value
->get_history(&iOmHistory).ThrowOnFailure();
116
htmlWindow.
Value
->get_closed(&closed).ThrowOnFailure();
130
htmlWindow.
Value
->get_name(&name).ThrowOnFailure();
137
htmlWindow.
Value
->put_name(newValue).ThrowOnFailure();
147
htmlWindow.
Value
->get_opener(&variantDispatch).ThrowOnFailure();
150
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLWindow2>(), (void**)&htmlWindow2).Succeeded
162
htmlWindow.
Value
->get_parent(&iHTMLWindow2).ThrowOnFailure();
174
htmlWindow3.
Value
->get_screenLeft(&x).ThrowOnFailure();
175
htmlWindow3.
Value
->get_screenTop(&y).ThrowOnFailure();
189
htmlWindow.
Value
->get_document(htmlDoc2).ThrowOnFailure();
191
htmlDoc2.
Value
->get_body(bodyElement).ThrowOnFailure();
195
bodyElement.
Value
->get_offsetWidth(&offsetWidth).ThrowOnFailure();
196
bodyElement.
Value
->get_offsetHeight(&offsetHeight).ThrowOnFailure();
211
htmlWindow.
Value
->get_status(&status).ThrowOnFailure();
218
htmlWindow.
Value
->put_status(newValue).ThrowOnFailure();
228
htmlWindow.
Value
->get_location(location).ThrowOnFailure();
235
location.
Value
->get_href(&href).ThrowOnFailure();
247
htmlWindow4.
Value
->get_frameElement(htmlFrameBase).ThrowOnFailure();
249
return !htmlFrameBase.IsNull && htmlFrameBase.
Value
->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
259
htmlWindow.
Value
->alert(bstrMessage).ThrowOnFailure();
268
htmlWindow.
Value
->close().ThrowOnFailure();
276
htmlWindow.
Value
->confirm(bstrMessage, &confirmed).ThrowOnFailure();
286
htmlWindow.
Value
->focus().ThrowOnFailure();
295
htmlWindow.
Value
->moveTo(x, y).ThrowOnFailure();
304
htmlWindow.
Value
->moveTo(point.X, point.Y).ThrowOnFailure();
311
htmlWindow.
Value
->navigate(bstrUrl).ThrowOnFailure();
322
htmlWindow.
Value
->navigate(url).ThrowOnFailure();
336
htmlWindow.
Value
->open(url, bstrTarget, options, replaceEntry, &htmlWindow2).ThrowOnFailure();
354
htmlWindow.
Value
->open(url, target, options, VARIANT_BOOL.VARIANT_TRUE, &iHTMLWindow2).ThrowOnFailure();
367
htmlWindow.
Value
->prompt(bstrMessage, input, &result).ThrowOnFailure();
374
htmlWindow.
Value
->blur().ThrowOnFailure();
383
htmlWindow.
Value
->resizeTo(width, height).ThrowOnFailure();
392
htmlWindow.
Value
->resizeTo(size.Width, size.Height).ThrowOnFailure();
401
htmlWindow.
Value
->scrollTo(x, y).ThrowOnFailure();
410
htmlWindow.
Value
->scrollTo(point.X, point.Y).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.HtmlWindowShim.cs (2)
51
htmlWindow3.
Value
->attachEvent(name, dispatch, &result).ThrowOnFailure();
81
htmlWindow3.
Value
->detachEvent(name, dispatch).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (5)
41
htmlFrames2.
Value
->item(&oIndex, &variantDispatch).ThrowOnFailure();
44
return !dispatch.IsNull && dispatch.
Value
->QueryInterface(IID.Get<IHTMLWindow2>(), (void**)&htmlWindow2).Succeeded
60
htmlFrameCollection2.
Value
->item(&oWindowId, &variantDispatch).ThrowOnFailure();
64
HRESULT hr = dispatch.
Value
->QueryInterface(IID.Get<IHTMLWindow2>(), (void**)&htmlWindow2);
88
htmlFrames2.
Value
->get_length(&length).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (31)
100
webBrowser2.
Value
->get_RegisterAsDropTarget(®ister).ThrowOnFailure();
110
webBrowser2.
Value
->put_RegisterAsDropTarget(value).ThrowOnFailure();
129
webBrowser2.
Value
->get_Silent(&silent).ThrowOnFailure();
137
webBrowser2.
Value
->put_Silent(value).ThrowOnFailure();
221
webBrowser2.
Value
->get_Document(dispatch).ThrowOnFailure();
229
iHTMLDocument2.
Value
->get_location(htmlLocation).ThrowOnFailure();
233
htmlLocation.
Value
->get_href(&href).ThrowOnFailure();
350
webBrowser2.
Value
->get_LocationName(&locationName).ThrowOnFailure();
358
htmlDocument2.
Value
->get_title(&title).AssertSuccess();
383
htmlDocument2.
Value
->get_mimeType(&mimeType).AssertSuccess();
426
webBrowser2.
Value
->get_Busy(&busy).ThrowOnFailure();
443
webBrowser2.
Value
->get_Offline(&offline).ThrowOnFailure();
526
webBrowser2.
Value
->get_ReadyState(&readyState).ThrowOnFailure();
569
webBrowser2.
Value
->get_LocationURL(&url).ThrowOnFailure();
634
webBrowser2.
Value
->GoBack().ThrowOnFailure();
656
webBrowser2.
Value
->GoForward().ThrowOnFailure();
672
webBrowser2.
Value
->GoHome().ThrowOnFailure();
681
webBrowser2.
Value
->GoSearch().ThrowOnFailure();
816
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_PRINT, OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, (VARIANT*)default, default).ThrowOnFailure();
834
webBrowser2.
Value
->Refresh().ThrowOnFailure();
839
webBrowser2.
Value
->Refresh().ThrowOnFailure();
861
webBrowser2.
Value
->Refresh2(&level).ThrowOnFailure();
866
webBrowser2.
Value
->Refresh2(&level).ThrowOnFailure();
905
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_PAGESETUP, OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, (VARIANT*)default, default).ThrowOnFailure();
921
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_PRINT, OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, (VARIANT*)default, default).ThrowOnFailure();
936
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_PRINTPREVIEW, OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, (VARIANT*)default, default).ThrowOnFailure();
952
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_PROPERTIES, OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, (VARIANT*)default, default).ThrowOnFailure();
968
webBrowser2.
Value
->ExecWB(OLECMDID.OLECMDID_SAVEAS, OLECMDEXECOPT.OLECMDEXECOPT_DODEFAULT, (VARIANT*)default, default).ThrowOnFailure();
983
webBrowser2.
Value
->Stop().ThrowOnFailure();
1197
webBrowser2.
Value
->put_RegisterAsDropTarget(AllowWebBrowserDrop).ThrowOnFailure();
1315
webBrowser2.
Value
->Navigate2(&variantUrlString, &variantFlags, &variantTargetFrameName, &variantPostData, &variantHeaders).ThrowOnFailure();
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
107
oleObject.
Value
->GetClientSite(&clientSite);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (3)
38
dialog.
Value
->Advise(events, out uint eventCookie);
41
returnValue = dialog.
Value
->Show(hWndOwner) == HRESULT.S_OK;
46
dialog.
Value
->Unadvise(eventCookie);
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (5)
348
customize.
Value
->AddText(0, _descriptionText);
408
itemArray.
Value
->GetCount(out uint itemCount);
413
itemArray.
Value
->GetItemAt(itemIndex, item);
416
item.
Value
->GetDisplayName(SIGDN.SIGDN_FILESYSPATH, out PWSTR ppszName);
430
item.
Value
->GetDisplayName(SIGDN.SIGDN_FILESYSPATH, out PWSTR ppszName);
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (3)
148
HRESULT hr = openDialog.
Value
->GetResults(items);
154
items.
Value
->GetCount(out uint count);
159
items.
Value
->GetItemAt(i, item);
System\Windows\Forms\Input\Cursor.cs (4)
409
picture.
Value
->QueryInterface(IID.Get<IPersistStream>(), persist).ThrowOnFailure();
412
persist.
Value
->Load(pStream);
413
picture.
Value
->get_Type(out PICTYPE type).ThrowOnFailure();
417
picture.
Value
->get_Handle(out OLE_HANDLE oleHandle);
System.Windows.Forms.Primitives (16)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (15)
25
return manager.
Value
->QueryService(guidService, iid, ppvObj);
31
return manager.
Value
->FDebugMessage(dwReserved, msg, wParam, lParam);
37
return manager.
Value
->FRegisterComponent(piComponent, pcrinfo, dwComponentID);
43
return manager.
Value
->FRevokeComponent(dwComponentID);
49
return manager.
Value
->FUpdateComponentRegistration(dwComponentID, pcrinfo);
55
return manager.
Value
->FOnComponentActivate(dwComponentID);
61
return manager.
Value
->FSetTrackingComponent(dwComponentID, fTrack);
73
manager.
Value
->OnComponentEnterState(dwComponentID, uStateID, uContext, cpicmExclude, rgpicmExclude, dwReserved);
84
return manager.
Value
->FOnComponentExitState(dwComponentID, uStateID, uContext, cpicmExclude, rgpicmExclude);
90
return manager.
Value
->FInState(uStateID, pvoid);
96
return manager.
Value
->FContinueIdle();
102
return manager.
Value
->FPushMessageLoop(dwComponentID, uReason, pvLoopData);
108
return manager.
Value
->FCreateSubComponentManager(punkOuter, punkServProv, riid, ppvObj);
114
return manager.
Value
->FGetParentComponentManager(ppicm);
120
return manager.
Value
->FGetActiveComponent(dwgac, ppic, pcrinfo, dwReserved);
Windows\Win32\System\Com\ComSafeArrayScope.cs (1)
56
unknown.
Value
->QueryInterface(IID.Get<T>(), &result).ThrowOnFailure();