ReactOS 0.4.15-dev-7906-g1b85a5f
ros_lpk.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS
4 * PURPOSE: LPK Library
5 * PROGRAMMER: Magnus Olsen (greatlrd)
6 *
7 */
8
9#ifndef _LPK_H
10#define _LPK_H
11
12#include <stdarg.h>
13
14#define WIN32_NO_STATUS
15#include <windef.h>
16#include <winbase.h>
17#include <wingdi.h>
18#include <winnls.h>
19#include <usp10.h>
20#include <strsafe.h>
21#include "undocgdi.h"
22#include "wine/unicode.h"
23#include "wine/debug.h"
24
25/* FIXME USP10 api that does not have prototype in any include file */
27
28/* FIXME move _LPK_LPEDITCONTROL_LIST to global place so user32 can access it */
30{
46
47/* This List are exported */
48
49
54
59
66
72
73/* Implemented */
74
75BOOL WINAPI LpkExtTextOut(HDC hdc, int x, int y, UINT fuOptions, const RECT *lprc,
76 LPCWSTR lpString, UINT uCount , const INT *lpDx, INT unknown);
77
78DWORD WINAPI LpkGetCharacterPlacement(HDC hdc, LPCWSTR lpString, INT uCount, INT nMaxExtent,
79 GCP_RESULTSW *lpResults, DWORD dwFlags, DWORD dwUnused);
80
81INT WINAPI LpkPSMTextOut(HDC hdc, int x, int y, LPCWSTR lpString, int cString, DWORD dwFlags);
82
83BOOL WINAPI LpkGetTextExtentExPoint(HDC hdc, LPCWSTR lpString, INT cString, INT nMaxExtent,
84 LPINT lpnFit, LPINT lpnDx, LPSIZE lpSize, DWORD dwUnused,
85 int unknown);
86/* bidi.c */
87
88#define WINE_GCPW_FORCE_LTR 0
89#define WINE_GCPW_FORCE_RTL 1
90#define WINE_GCPW_LOOSE_LTR 2
91#define WINE_GCPW_LOOSE_RTL 3
92#define WINE_GCPW_DIR_MASK 3
93#define WINE_GCPW_LOOSE_MASK 2
94
96 _In_ HDC hDC, /* [in] Display DC */
97 _In_ LPCWSTR lpString, /* [in] The string for which information is to be returned */
98 _In_ INT uCount, /* [in] Number of WCHARs in string. */
99 _In_ DWORD dwFlags, /* [in] GetCharacterPlacement compatible flags specifying how to process the string */
100 _In_ DWORD dwWineGCP_Flags, /* [in] Wine internal flags - Force paragraph direction */
101 _Out_ LPWSTR lpOutString, /* [out] Reordered string */
102 _In_ INT uCountOut, /* [in] Size of output buffer */
103 _Out_ UINT *lpOrder, /* [out] Logical -> Visual order map */
104 _Out_ WORD **lpGlyphs, /* [out] reordered, mirrored, shaped glyphs to display */
105 _Out_ INT *cGlyphs /* [out] number of glyphs generated */
106 );
107
108#endif /* _LPK_H */
static HDC hDC
Definition: 3dtext.c:33
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1605
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
LPKGCP LpkGetCharacterPlacement
Definition: utils.c:6
LPKETO LpkExtTextOut
Definition: utils.c:5
LPKGTEP LpkGetTextExtentExPoint
Definition: utils.c:7
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
HDC hdc
Definition: main.c:9
static HDC
Definition: imagelist.c:92
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
unsigned int UINT
Definition: ndis.h:50
DWORD WINAPI ftsWordBreak(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:55
DWORD WINAPI EditNextWord(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
Definition: stub.c:116
DWORD WINAPI EditIchToXY(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:67
DWORD WINAPI EditAdjustCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x5)
Definition: stub.c:140
INT WINAPI LpkPSMTextOut(HDC hdc, int x, int y, LPCWSTR lpString, int cString, DWORD dwFlags)
Definition: lpk.c:380
DWORD WINAPI EditCreate(DWORD x1, DWORD x2)
Definition: stub.c:61
DWORD WINAPI EditSetMenu(DWORD x1, DWORD x2)
Definition: stub.c:122
DWORD WINAPI EditGetLineWidth(DWORD x1, DWORD x2, DWORD x3, DWORD x4)
Definition: stub.c:86
DWORD WINAPI EditMouseToIch(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:73
DWORD WINAPI EditCreateCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:134
DWORD WINAPI LpkTabbedTextOut(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7, DWORD x8, DWORD x9, DWORD x10, DWORD x11, DWORD x12)
Definition: stub.c:28
DWORD WINAPI EditDrawText(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
Definition: stub.c:92
DWORD WINAPI EditHScroll(DWORD x1, DWORD x2, DWORD x3)
Definition: stub.c:98
DWORD WINAPI LpkDrawTextEx(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7, DWORD x8, DWORD x9, DWORD x10)
Definition: stub.c:37
DWORD WINAPI LpkInitialize(DWORD x1)
Definition: stub.c:19
DWORD WINAPI EditMoveSelection(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:104
DWORD WINAPI EditProcessMenu(DWORD x1, DWORD x2)
Definition: stub.c:128
struct _LPK_LPEDITCONTROL_LIST * PLPK_LPEDITCONTROL_LIST
DWORD WINAPI EditCchInWidth(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:79
VOID WINAPI LpkPresent(VOID)
BOOL BIDI_Reorder(_In_ HDC hDC, _In_ LPCWSTR lpString, _In_ INT uCount, _In_ DWORD dwFlags, _In_ DWORD dwWineGCP_Flags, _Out_ LPWSTR lpOutString, _In_ INT uCountOut, _Out_ UINT *lpOrder, _Out_ WORD **lpGlyphs, _Out_ INT *cGlyphs)
struct _LPK_LPEDITCONTROL_LIST LPK_LPEDITCONTROL_LIST
DWORD WINAPI EditVerifyText(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6)
Definition: stub.c:110
DWORD WINAPI LpkUseGDIWidthCache(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:46
int32_t INT
Definition: typedefs.h:58
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3710
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3708
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
Definition: winddi.h:3799
int * LPINT
Definition: windef.h:178
#define WINAPI
Definition: msvc.h:6
_In_ int _Inout_ LPRECT lprc
Definition: winuser.h:4466
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185