13 instantiations of PCSTR
System.Private.Windows.Core (6)
Windows.Win32.PCSTR.g.cs (1)
38 public static explicit operator PCSTR(byte* value) => new PCSTR(value);
Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (2)
253 int __result = PInvokeCore.MultiByteToWideChar(CodePage, dwFlags, new winmdroot.Foundation.PCSTR (lpMultiByteStrLocal), cbMultiByte, lpWideCharStr, cchWideChar); 301 int __result = PInvokeCore.WideCharToMultiByte(CodePage, dwFlags, lpWideCharStrLocal, cchWideChar, lpMultiByteStr, cbMultiByte, new winmdroot.Foundation.PCSTR (lpDefaultCharLocal), lpUsedDefaultChar);
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)
Windows.Win32.IRichEditOle.g.cs (3)
251 this.ConvertObject(iob, rclsidNewLocal, new winmdroot.Foundation.PCSTR (lpstrUserTypeNewLocal)); 359 this.SetHostNames(new winmdroot.Foundation.PCSTR (lpstrContainerAppLocal), new winmdroot.Foundation.PCSTR (lpstrContainerObjLocal));
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
444 winmdroot.Foundation.FARPROC __result = PInvoke.GetProcAddress(hModule, new winmdroot.Foundation.PCSTR (lpProcNameLocal));
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));
46 references to PCSTR
System.Drawing.Common (3)
System\Drawing\Printing\PrinterSettings.cs (2)
355(PCSTR)(void*)&function, 398(PCSTR)b,
Windows.Win32.PInvoke.GDI32.dll.g.cs (1)
106 internal static extern int ExtEscape(winmdroot.Graphics.Gdi.HDC hdc, int iEscape, int cjInput, winmdroot.Foundation.PCSTR lpInData, int cjOutput, winmdroot.Foundation.PSTR lpOutData);
System.Private.Windows.Core (14)
Windows.Win32.PCSTR.g.cs (5)
27 : IEquatable<PCSTR> 36 public static implicit operator byte*(PCSTR value) => value.Value; 38 public static explicit operator PCSTR(byte* value) => new PCSTR(value); 40 public bool Equals(PCSTR other) => this.Value == other.Value; 42 public override bool Equals(object obj) => obj is PCSTR other && this.Equals(other);
Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (6)
247 /// <inheritdoc cref="MultiByteToWideChar(uint, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS, winmdroot.Foundation.PCSTR, int, winmdroot.Foundation.PWSTR, int)"/> 282 internal static int MultiByteToWideChar(uint CodePage, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS dwFlags, winmdroot.Foundation.PCSTR lpMultiByteStr, int cbMultiByte, winmdroot.Foundation.PWSTR lpWideCharStr, int cchWideChar) 290 static extern int LocalExternFunction(uint CodePage, winmdroot.Globalization.MULTI_BYTE_TO_WIDE_CHAR_FLAGS dwFlags, winmdroot.Foundation.PCSTR lpMultiByteStr, int cbMultiByte, winmdroot.Foundation.PWSTR lpWideCharStr, int cchWideChar); 293 /// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.PSTR, int, winmdroot.Foundation.PCSTR, winmdroot.Foundation.BOOL*)"/> 339 internal static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, winmdroot.Foundation.PCSTR lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar) 347 static extern unsafe int LocalExternFunction(uint CodePage, uint dwFlags, winmdroot.Foundation.PCWSTR lpWideCharStr, int cchWideChar, winmdroot.Foundation.PSTR lpMultiByteStr, int cbMultiByte, winmdroot.Foundation.PCSTR lpDefaultChar, [Optional] winmdroot.Foundation.BOOL* lpUsedDefaultChar);
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)
119return PInvoke.GetProcAddress(hModule, (PCSTR)ptr) != 0; 132return PInvoke.GetProcAddress(hModule, (PCSTR)ptr) != 0;
System\Windows\Forms\NativeWindow.cs (1)
175s_defaultWindowProc = PInvoke.GetProcAddress(hModule, (PCSTR)ptr);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ByteViewer.cs (2)
402bufferSize = PInvokeCore.MultiByteToWideChar(PInvokeCore.CP_ACP, 0, (PCSTR)pDataBuff, _dataBuf.Length, null, 0); 406size = PInvokeCore.MultiByteToWideChar(PInvokeCore.CP_ACP, 0, (PCSTR)pDataBuff, bufferSize, pText, bufferSize);
System.Windows.Forms.Primitives (24)
Windows.Win32.IRichEditOle.g.cs (18)
244 /// <inheritdoc cref="ConvertObject(int, global::System.Guid*, winmdroot.Foundation.PCSTR)"/> 259 private static winmdroot.Foundation.HRESULT ConvertObject(IRichEditOle* pThis, int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.PCSTR lpstrUserTypeNew) 295 public unsafe void ConvertObject(int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.PCSTR lpstrUserTypeNew) 297 ((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(); 352 /// <inheritdoc cref="SetHostNames(winmdroot.Foundation.PCSTR, winmdroot.Foundation.PCSTR)"/> 367 private static winmdroot.Foundation.HRESULT SetHostNames(IRichEditOle* pThis, winmdroot.Foundation.PCSTR lpstrContainerApp, winmdroot.Foundation.PCSTR lpstrContainerObj) 399 public void SetHostNames(winmdroot.Foundation.PCSTR lpstrContainerApp, winmdroot.Foundation.PCSTR lpstrContainerObj) 401 ((delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.Foundation.PCSTR ,winmdroot.Foundation.PCSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IRichEditOle*)Unsafe.AsPointer(ref this), lpstrContainerApp, lpstrContainerObj).ThrowOnFailure(); 764 internal delegate *unmanaged [Stdcall]<IRichEditOle*,int ,global::System.Guid* ,winmdroot.Foundation.PCSTR ,winmdroot.Foundation.HRESULT> ConvertObject_9; 768 internal delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.Foundation.PCSTR ,winmdroot.Foundation.PCSTR ,winmdroot.Foundation.HRESULT> SetHostNames_11; 841 unsafe winmdroot.Foundation.HRESULT ConvertObject(int iob, global::System.Guid* rclsidNew, winmdroot.Foundation.PCSTR lpstrUserTypeNew); 847winmdroot.Foundation.HRESULT SetHostNames(winmdroot.Foundation.PCSTR lpstrContainerApp, winmdroot.Foundation.PCSTR lpstrContainerObj);
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (3)
438 /// <inheritdoc cref="GetProcAddress(winmdroot.Foundation.HMODULE, winmdroot.Foundation.PCSTR)"/> 465 internal static winmdroot.Foundation.FARPROC GetProcAddress(winmdroot.Foundation.HMODULE hModule, winmdroot.Foundation.PCSTR lpProcName) 473 static extern winmdroot.Foundation.FARPROC LocalExternFunction(winmdroot.Foundation.HMODULE hModule, winmdroot.Foundation.PCSTR lpProcName);
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)"/>