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