1 instantiation of PSTR
System.Private.Windows.Core (1)
Windows.Win32.PSTR.g.cs (1)
37
public static implicit operator PSTR(byte* value) => new
PSTR
(value);
22 references to PSTR
System.Drawing.Common (2)
System\Drawing\Printing\PrinterSettings.cs (1)
400
(
PSTR
)(void*)&driverReturnValue);
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 (20)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (1)
377
PInvokeCore.WideCharToMultiByte(PInvokeCore.CP_ACP, 0, value, value.Length, (
PSTR
)buffer.Pointer, byteCount, null, null);
Windows.Win32.CAC.g.cs (1)
27
internal winmdroot.Foundation.
PSTR
pElems;
Windows.Win32.CALPSTR.g.cs (1)
27
internal unsafe winmdroot.Foundation.
PSTR
* pElems;
Windows.Win32.PInvokeCore.KERNEL32.dll.g.cs (4)
293
/// <inheritdoc cref="WideCharToMultiByte(uint, uint, winmdroot.Foundation.PCWSTR, int, winmdroot.Foundation.
PSTR
, int, winmdroot.Foundation.PCSTR, winmdroot.Foundation.BOOL*)"/>
295
internal static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, string lpWideCharStr, int cchWideChar, winmdroot.Foundation.
PSTR
lpMultiByteStr, int cbMultiByte, string lpDefaultChar, winmdroot.Foundation.BOOL* lpUsedDefaultChar)
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.PROPVARIANT.g.cs (2)
131
internal winmdroot.Foundation.
PSTR
pszVal;
221
internal winmdroot.Foundation.
PSTR
pcVal;
Windows.Win32.PSTR.g.cs (10)
25
: IEquatable<
PSTR
>
35
public static implicit operator byte*(
PSTR
value) => value.Value;
37
public static implicit operator
PSTR
(byte* value) => new PSTR(value);
39
public static bool operator ==(
PSTR
left,
PSTR
right) => left.Value == right.Value;
41
public static bool operator !=(
PSTR
left,
PSTR
right) => !(left == right);
43
public bool Equals(
PSTR
other) => this.Value == other.Value;
45
public override bool Equals(object obj) => obj is
PSTR
other && this.Equals(other);
53
public static implicit operator PCSTR(
PSTR
value) => new PCSTR(value.Value);
Windows.Win32.VARIANT.g.cs (1)
176
internal winmdroot.Foundation.
PSTR
pcVal;