Go to the source code of this file.
|
BOOL WINAPI | GdiDrawStream (HDC dc, ULONG l, PGDI_DRAW_STREAM pDS) |
|
BOOL WINAPI | GetTextExtentExPointWPri (_In_ HDC hdc, _In_reads_(cwc) PCWCH lpwsz, _In_ INT cwc, _In_ INT dxMax, _Out_opt_ LPINT pcCh, _Out_writes_to_opt_(cwc, *pcCh) LPINT pdxOut, _In_ LPSIZE psize) |
|
BOOL WINAPI | GetFontResourceInfoW (_In_z_ LPCWSTR lpFileName, _Inout_ DWORD *pdwBufSize, _Out_writes_to_opt_(*pdwBufSize, 1) PVOID lpBuffer, _In_ DWORD dwType) |
|
◆ DS_TILE
◆ DS_TRANSPARENTALPHA
#define DS_TRANSPARENTALPHA 0x4 |
◆ DS_TRANSPARENTCLR
◆ DS_TRUESIZE
◆ GDI_DRAW_STREAM
◆ PGDI_DRAW_STREAM
◆ GdiDrawStream()
Definition at line 644 of file misc.c.
645{
646 if (!pDS ||
l !=
sizeof(*pDS))
647 {
648 DPRINT1(
"GdiDrawStream: Invalid params\n");
649 return 0;
650 }
651
656 {
657 DPRINT1(
"GdiDrawStream: Got unknown pDS data\n");
658 return 0;
659 }
660
661 {
664 int sizingtype;
665
670 else
672
677 else
679
681 return 0;
682
684 {
686 }
687
689 {
691 }
692
696 transparent,
699 sizingtype,
700 &sm,
702 }
703 return 0;
704}
#define DS_TRANSPARENTCLR
#define DS_TRANSPARENTALPHA
static HRESULT UXTHEME_DrawImageBackground(HDC hdc, HBITMAP bmpSrc, RECT *prcSrc, INT transparent, COLORREF transparentcolor, BOOL borderonly, int sizingtype, MARGINS *psm, RECT *pRect)
#define ALPHABLEND_BINARY
Referenced by UXTHEME_DrawImageBackground(), and UXTHEME_DrawImageGlyph().
◆ GetFontResourceInfoW()
Definition at line 748 of file text.c.
753{
756
757 DPRINT(
"GetFontResourceInfoW: dwType = %lu\n", dwType);
758
760 {
763 }
764
766 &NtFileName,
769 {
772 }
773
777 1,
778 *pdwBufSize,
779 pdwBufSize,
781 dwType);
782
784
785 return bRet;
786}
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
#define ERROR_INVALID_PARAMETER
NTSYSAPI BOOLEAN NTAPI RtlDosPathNameToNtPathName_U(_In_opt_z_ PCWSTR DosPathName, _Out_ PUNICODE_STRING NtPathName, _Out_opt_ PCWSTR *NtFileNamePart, _Out_opt_ PRTL_RELATIVE_NAME_U DirectoryInfo)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiGetFontResourceInfoInternalW(_In_reads_z_(cwc) PCWCH pwszFiles, _In_ ULONG cwc, _In_ ULONG cFiles, _In_ UINT cjBuf, _Out_ LPDWORD pdwBytes, _Out_writes_bytes_(cjBuf) LPVOID pvBuf, _In_ DWORD iType)
#define ERROR_PATH_NOT_FOUND
◆ GetTextExtentExPointWPri()
Definition at line 311 of file text.c.
319{
321}
_Must_inspect_result_ _Out_ LPSIZE psize
__kernel_entry W32KAPI BOOL APIENTRY NtGdiGetTextExtentExW(_In_ HDC hdc, _In_reads_opt_(cwc) PCWCH pwsz, _In_ ULONG cwc, _In_ ULONG dxMax, _Out_opt_ PULONG pcCh, _Out_writes_to_opt_(cwc, *pcCh) PULONG pdxOut, _Out_ PSIZE psize, _In_ FLONG fl)
Referenced by LpkGetTextExtentExPoint().