14 instantiations of PCSTR
System.Private.Windows.Core (7)
_generated\187\Windows.Win32.PCSTR.g.cs (1)
39
public static explicit operator PCSTR(byte* value) => new
PCSTR
(value);
_generated\197\Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (3)
255
int __result = PInvokeCore.MultiByteToWideChar(CodePage, dwFlags, new winmdroot.Foundation.
PCSTR
(lpMultiByteStrLocal), cbMultiByte, lpWideCharStrLocal, lpWideCharStr.Length);
307
int __result = PInvokeCore.WideCharToMultiByte(CodePage, dwFlags, lpWideCharStrLocal, cchWideChar, lpMultiByteStr, cbMultiByte, new winmdroot.Foundation.
PCSTR
(lpDefaultCharLocal), lpUsedDefaultCharLocal);
322
int __result = PInvokeCore.WideCharToMultiByte(CodePage, dwFlags, lpWideCharStrLocal, cchWideChar, lpMultiByteStr, cbMultiByte, new winmdroot.Foundation.
PCSTR
(lpDefaultCharLocal), default(winmdroot.Foundation.BOOL* ));
_generated\206\Windows.Win32.PSTR.g.cs (3)
51
public override string ToString() => new
PCSTR
(this.Value).ToString();
53
public static implicit operator PCSTR(PSTR value) => new
PCSTR
(value.Value);
57
internal int Length => new
PCSTR
(this.Value).Length;
System.Windows.Forms.Primitives (7)
_generated\235\Windows.Win32.IRichEditOle.g.cs (3)
256
this.ConvertObject(iob, rclsidNewLocal, new winmdroot.Foundation.
PCSTR
(lpstrUserTypeNewLocal));
366
this.SetHostNames(new winmdroot.Foundation.
PCSTR
(lpstrContainerAppLocal), new winmdroot.Foundation.
PCSTR
(lpstrContainerObjLocal));
_generated\417\Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
513
winmdroot.Foundation.FARPROC __result = PInvoke.GetProcAddress(hModule, new winmdroot.Foundation.
PCSTR
(lpProcNameLocal));
_generated\588\Windows.Win32.UI_Controls_RichEdit_IRichEditOle_Extensions.g.cs (3)
50
winmdroot.Foundation.HRESULT __result = @this.ConvertObject(iob, rclsidNewLocal, new winmdroot.Foundation.
PCSTR
(lpstrUserTypeNewLocal));
76
winmdroot.Foundation.HRESULT __result = @this.SetHostNames(new winmdroot.Foundation.
PCSTR
(lpstrContainerAppLocal), new winmdroot.Foundation.
PCSTR
(lpstrContainerObjLocal));
47 references to PCSTR
System.Drawing.Common (3)
_generated\17\Windows.Win32.PInvoke.GDI32.dll.g.cs (1)
106
internal static extern int ExtEscape(winmdroot.Graphics.Gdi.HDC hdc, int iEscape, int cjInput, [Optional] winmdroot.Foundation.
PCSTR
lpInData, int cjOutput, [Optional] winmdroot.Foundation.PSTR lpOutData);
System\Drawing\Printing\PrinterSettings.cs (2)
355
(
PCSTR
)(void*)&function,
398
(
PCSTR
)b,
System.Private.Windows.Core (15)
_generated\187\Windows.Win32.PCSTR.g.cs (5)
28
: IEquatable<
PCSTR
>
37
public static implicit operator byte*(
PCSTR
value) => value.Value;
39
public static explicit operator
PCSTR
(byte* value) => new PCSTR(value);
41
public bool Equals(
PCSTR
other) => this.Value == other.Value;
43
public override bool Equals(object obj) => obj is
PCSTR
other && this.Equals(other);
_generated\197\Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (7)
247
/// <inheritdoc cref="MultiByteToWideChar(uint, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS, winmdroot.Foundation.
PCSTR
, int, winmdroot.Foundation.PWSTR, int)"/>
285
internal static int MultiByteToWideChar(uint CodePage, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS dwFlags, winmdroot.Foundation.
PCSTR
lpMultiByteStr, int cbMultiByte, [Optional] winmdroot.Foundation.PWSTR lpWideCharStr, int cchWideChar)
293
static extern int LocalExternFunction(uint CodePage, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS dwFlags, winmdroot.Foundation.
PCSTR
lpMultiByteStr, int cbMultiByte, [Optional] winmdroot.Foundation.PWSTR lpWideCharStr, int cchWideChar);
296
/// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.
PCSTR
, winmdroot.Foundation.BOOL*)"/>
314
/// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.
PCSTR
, winmdroot.Foundation.BOOL*)"/>
360
internal static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, [Optional] winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, [Optional] winmdroot.Foundation.
PCSTR
lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar)
368
static extern unsafe int LocalExternFunction(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, [Optional] winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, [Optional] winmdroot.Foundation.
PCSTR
lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar);
_generated\206\Windows.Win32.PSTR.g.cs (3)
50
/// <inheritdoc cref="
PCSTR
.ToString()"/>
53
public static implicit operator
PCSTR
(PSTR value) => new PCSTR(value.Value);
56
/// <inheritdoc cref="
PCSTR
.Length"/>
System.Windows.Forms (3)
System\Windows\Forms\Application.cs (2)
119
return PInvoke.GetProcAddress(hModule, (
PCSTR
)ptr) != 0;
132
return PInvoke.GetProcAddress(hModule, (
PCSTR
)ptr) != 0;
System\Windows\Forms\NativeWindow.cs (1)
175
s_defaultWindowProc = PInvoke.GetProcAddress(hModule, (
PCSTR
)ptr);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ByteViewer.cs (2)
402
bufferSize = PInvokeCore.MultiByteToWideChar(PInvokeCore.CP_ACP, 0, (
PCSTR
)pDataBuff, _dataBuf.Length, null, 0);
406
size = PInvokeCore.MultiByteToWideChar(PInvokeCore.CP_ACP, 0, (
PCSTR
)pDataBuff, bufferSize, pText, bufferSize);
System.Windows.Forms.Primitives (24)
_generated\235\Windows.Win32.IRichEditOle.g.cs (18)
248
/// <inheritdoc cref="ConvertObject(int, global::System.Guid*, winmdroot.Foundation.
PCSTR
)"/>
264
private static winmdroot.Foundation.HRESULT ConvertObject(IRichEditOle* pThis, int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.
PCSTR
lpstrUserTypeNew)
300
public unsafe void ConvertObject(int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.
PCSTR
lpstrUserTypeNew)
302
((delegate *unmanaged [Stdcall]<IRichEditOle*,int ,global::System.Guid* ,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IRichEditOle*)Unsafe.AsPointer(ref this), iob, rclsidNew, lpstrUserTypeNew).ThrowOnFailure();
358
/// <inheritdoc cref="SetHostNames(winmdroot.Foundation.
PCSTR
, winmdroot.Foundation.
PCSTR
)"/>
374
private static winmdroot.Foundation.HRESULT SetHostNames(IRichEditOle* pThis, winmdroot.Foundation.
PCSTR
lpstrContainerApp, winmdroot.Foundation.
PCSTR
lpstrContainerObj)
406
public void SetHostNames(winmdroot.Foundation.
PCSTR
lpstrContainerApp, winmdroot.Foundation.
PCSTR
lpstrContainerObj)
408
((delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IRichEditOle*)Unsafe.AsPointer(ref this), lpstrContainerApp, lpstrContainerObj).ThrowOnFailure();
774
internal delegate *unmanaged [Stdcall]<IRichEditOle*,int ,global::System.Guid* ,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.HRESULT> ConvertObject_9;
778
internal delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.
PCSTR
,winmdroot.Foundation.HRESULT> SetHostNames_11;
851
unsafe winmdroot.Foundation.HRESULT ConvertObject(int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.
PCSTR
lpstrUserTypeNew);
857
winmdroot.Foundation.HRESULT SetHostNames(winmdroot.Foundation.
PCSTR
lpstrContainerApp, winmdroot.Foundation.
PCSTR
lpstrContainerObj);
_generated\417\Windows.Win32.PInvoke.KERNEL32.dll.g.cs (3)
506
/// <inheritdoc cref="GetProcAddress(winmdroot.Foundation.HMODULE, winmdroot.Foundation.
PCSTR
)"/>
534
internal static winmdroot.Foundation.FARPROC GetProcAddress(winmdroot.Foundation.HMODULE hModule, winmdroot.Foundation.
PCSTR
lpProcName)
542
static extern winmdroot.Foundation.FARPROC LocalExternFunction(winmdroot.Foundation.HMODULE hModule, winmdroot.Foundation.
PCSTR
lpProcName);
_generated\588\Windows.Win32.UI_Controls_RichEdit_IRichEditOle_Extensions.g.cs (3)
43
/// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOle.Interface.ConvertObject(int, global::System.Guid*, winmdroot.Foundation.
PCSTR
)"/>
69
/// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOle.Interface.SetHostNames(winmdroot.Foundation.
PCSTR
, winmdroot.Foundation.
PCSTR
)"/>