67 references to PCWSTR
System.Drawing.Common.Tests (2)
System\Drawing\ImageTests.cs (1)
673HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.Null, default, null, default(PCWSTR));
System\Drawing\Imaging\MetafileTests.cs (1)
1025HDC hdc = PInvokeCore.CreateEnhMetaFile(HDC.Null, default, null, default(PCWSTR));
System.Private.Windows.Core (4)
Windows\Win32\Graphics\Gdi\GetDcScope.cs (3)
51/// <see cref="PInvokeCore.CreateDCW(PCWSTR, PCWSTR, PCWSTR, DEVMODEW*)" /> is the
Windows\Win32\UI\Controls\Dialogs\PRINTDLGEXW.cs (1)
270public PCWSTR lpPrintTemplateName;
System.Windows.Forms (36)
GlobalUsings.cs (1)
31global using PCWSTR = Windows.Win32.Foundation.PCWSTR;
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
1141HRESULT ILegacyIAccessibleProvider.Interface.SetValue(PCWSTR szValue) 1367HRESULT IValueProvider.Interface.SetValue(PCWSTR val)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (2)
51PInvoke.GetModuleHandle((PCWSTR)null), 60PInvoke.GetModuleHandle((PCWSTR)null),
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (3)
638HRESULT IOleInPlaceFrame.Interface.SetActiveObject(IOleInPlaceActiveObject* pActiveObject, PCWSTR pszObjName) 708HRESULT IOleInPlaceFrame.Interface.SetStatusText(PCWSTR pszStatusText) => HRESULT.E_NOTIMPL; 729HRESULT IOleInPlaceUIWindow.Interface.SetActiveObject(IOleInPlaceActiveObject* pActiveObject, PCWSTR pszObjName)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3032(PCWSTR)null,
System\Windows\Forms\ActiveX\AxHost.PropertyBagStream.cs (2)
64HRESULT IPropertyBag.Interface.Read(PCWSTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 90HRESULT IPropertyBag.Interface.Write(PCWSTR pszPropName, VARIANT* pVar)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
899inPlaceFrame.Value->SetActiveObject(activeObject, (PCWSTR)null); 903inPlaceUiWindow.Value->SetActiveObject(activeObject, (PCWSTR)null); 1943window.Value->SetActiveObject(null, (PCWSTR)null); 1952frame.Value->SetActiveObject(null, (PCWSTR)null);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.PropertyBagStream.cs (2)
49HRESULT IPropertyBag.Interface.Read(PCWSTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 68HRESULT IPropertyBag.Interface.Write(PCWSTR pszPropName, VARIANT* pVar)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (4)
162/// <inheritdoc cref="IOleObject.SetHostNames(PCWSTR, PCWSTR)"/> 163HRESULT IOleObject.Interface.SetHostNames(PCWSTR szContainerApp, PCWSTR szContainerObj) =>
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
70(PCWSTR)c, 105(PCWSTR)c,
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (3)
88HRESULT IOleInPlaceFrame.Interface.SetActiveObject(IOleInPlaceActiveObject* pActiveObject, PCWSTR pszObjName) 150HRESULT IOleInPlaceFrame.Interface.SetStatusText(PCWSTR pszStatusText) => HRESULT.E_NOTIMPL; 432HRESULT IOleInPlaceUIWindow.Interface.SetActiveObject(IOleInPlaceActiveObject* pActiveObject, PCWSTR pszObjName)
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (1)
108protected virtual nint Instance => PInvoke.GetModuleHandle((PCWSTR)null);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
288protected virtual nint Instance => PInvoke.GetModuleHandle((PCWSTR)null);
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
393hInstance = PInvoke.GetModuleHandle((PCWSTR)null),
System\Windows\Forms\Input\Cursor.cs (1)
33internal unsafe Cursor(PCWSTR nResourceId, string cursorsProperty)
System\Windows\Forms\NativeWindow.cs (1)
426HINSTANCE modHandle = PInvoke.GetModuleHandle((PCWSTR)null);
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
159windowClass.hInstance = PInvoke.GetModuleHandle((PCWSTR)null);
System\Windows\Forms\SendKeys\SendKeys.cs (2)
227PInvoke.GetModuleHandle((PCWSTR)null), 245PInvoke.GetModuleHandle((PCWSTR)null),
System\Windows\Forms\StringSource.cs (2)
50(PCWSTR)null, 51(PCWSTR)null);
System.Windows.Forms.Primitives (10)
Windows\Win32\PInvoke.GetTextExtentPoint32.cs (1)
10/// <inheritdoc cref="GetTextExtentPoint32W(HDC, PCWSTR, int, SIZE*)"/>
Windows\Win32\System\Com\StructuredStorage\PropertyBagExtensions.cs (2)
10/// <inheritdoc cref="IPropertyBag.Interface.Read(PCWSTR, VARIANT*, IErrorLog*)"/> 19/// <inheritdoc cref="IPropertyBag.Interface.Write(PCWSTR, VARIANT*)"/>
Windows\Win32\UI\Controls\Dialogs\CHOOSECOLORW.cs (1)
163public PCWSTR lpTemplateName;
Windows\Win32\UI\Controls\Dialogs\CHOOSEFONTW.cs (1)
159public PCWSTR lpTemplateName;
Windows\Win32\UI\Controls\Dialogs\PAGESETUPDLGW.cs (1)
220public PCWSTR lpPageSetupTemplateName;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_32.cs (2)
46public PCWSTR lpPrintTemplateName; 48public PCWSTR lpSetupTemplateName;
Windows\Win32\UI\Controls\Dialogs\PRINTDLGW_64.cs (2)
284public PCWSTR lpPrintTemplateName; 298public PCWSTR lpSetupTemplateName;
System.Windows.Forms.Primitives.Tests (9)
Interop\Mocks\MockCursor.cs (1)
15internal MockCursor(PCWSTR nResourceId)
Interop\Oleaut32\SAFEARRAYTests.cs (4)
150public HRESULT GetField(void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => throw new NotImplementedException(); 152public HRESULT GetFieldNoCopy(void* pvData, PCWSTR szFieldName, VARIANT* pvarField, void** ppvDataCArray) => throw new NotImplementedException(); 154public HRESULT PutField(uint wFlags, void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => throw new NotImplementedException(); 156public HRESULT PutFieldNoCopy(uint wFlags, void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => throw new NotImplementedException();
Interop\Oleaut32\VARIANTTests.cs (4)
5717public HRESULT GetField(void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => HRESULT.E_NOTIMPL; 5719public HRESULT GetFieldNoCopy(void* pvData, PCWSTR szFieldName, VARIANT* pvarField, void** ppvDataCArray) => HRESULT.E_NOTIMPL; 5721public HRESULT PutField(uint wFlags, void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => HRESULT.E_NOTIMPL; 5723public HRESULT PutFieldNoCopy(uint wFlags, void* pvData, PCWSTR szFieldName, VARIANT* pvarField) => HRESULT.E_NOTIMPL;
System.Windows.Forms.Primitives.TestUtilities (6)
Win32\WindowClass.cs (6)
62icon = PInvokeCore.LoadIcon(HINSTANCE.Null, (PCWSTR)(char*)PInvokeCore.IDI_APPLICATION); 71cursor = PInvoke.LoadCursor(HINSTANCE.Null, (PCWSTR)(char*)PInvoke.IDC_ARROW); 166lpClassName: (PCWSTR)(char*)Atom.Value, 167lpWindowName: (PCWSTR)wn, 184lpClassName: (PCWSTR)cn, 185lpWindowName: (PCWSTR)wn,