gdiplus: Implement GdipGetStringFormatFlags.
This commit is contained in:
parent
ae817aea09
commit
2a1d41bf62
|
@ -388,7 +388,7 @@
|
||||||
@ stdcall GdipGetSolidFillColor(ptr ptr)
|
@ stdcall GdipGetSolidFillColor(ptr ptr)
|
||||||
@ stdcall GdipGetStringFormatAlign(ptr ptr)
|
@ stdcall GdipGetStringFormatAlign(ptr ptr)
|
||||||
@ stub GdipGetStringFormatDigitSubstitution
|
@ stub GdipGetStringFormatDigitSubstitution
|
||||||
@ stub GdipGetStringFormatFlags
|
@ stdcall GdipGetStringFormatFlags(ptr ptr)
|
||||||
@ stdcall GdipGetStringFormatHotkeyPrefix(ptr ptr)
|
@ stdcall GdipGetStringFormatHotkeyPrefix(ptr ptr)
|
||||||
@ stdcall GdipGetStringFormatLineAlign(ptr ptr)
|
@ stdcall GdipGetStringFormatLineAlign(ptr ptr)
|
||||||
@ stub GdipGetStringFormatMeasurableCharacterRangeCount
|
@ stub GdipGetStringFormatMeasurableCharacterRangeCount
|
||||||
|
|
|
@ -79,6 +79,17 @@ GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat *format,
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat* format,
|
||||||
|
INT* flags)
|
||||||
|
{
|
||||||
|
if (!(format && flags))
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
|
*flags = format->attr;
|
||||||
|
|
||||||
|
return Ok;
|
||||||
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat
|
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat
|
||||||
*format, INT *hkpx)
|
*format, INT *hkpx)
|
||||||
{
|
{
|
||||||
|
|
|
@ -405,6 +405,7 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT,LANGID,GpStringFormat**);
|
||||||
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
|
GpStatus WINGDIPAPI GdipDeleteStringFormat(GpStringFormat*);
|
||||||
GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
|
GpStatus WINGDIPAPI GdipStringFormatGetGenericDefault(GpStringFormat **);
|
||||||
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
|
GpStatus WINGDIPAPI GdipGetStringFormatAlign(GpStringFormat*,StringAlignment*);
|
||||||
|
GpStatus WINGDIPAPI GdipGetStringFormatFlags(GDIPCONST GpStringFormat*, INT*);
|
||||||
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
|
GpStatus WINGDIPAPI GdipGetStringFormatHotkeyPrefix(GDIPCONST GpStringFormat*,INT*);
|
||||||
GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
|
GpStatus WINGDIPAPI GdipGetStringFormatLineAlign(GpStringFormat*,StringAlignment*);
|
||||||
GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
|
GpStatus WINGDIPAPI GdipGetStringFormatTrimming(GpStringFormat*,StringTrimming*);
|
||||||
|
|
Loading…
Reference in New Issue