ReactOS  0.4.15-dev-499-g1f31905
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 
73 
74 /* Implemented */
75 
76 BOOL WINAPI LpkExtTextOut(HDC hdc, int x, int y, UINT fuOptions, const RECT *lprc,
77  LPCWSTR lpString, UINT uCount , const INT *lpDx, INT unknown);
78 
79 DWORD WINAPI LpkGetCharacterPlacement(HDC hdc, LPCWSTR lpString, INT uCount, INT nMaxExtent,
80  GCP_RESULTSW *lpResults, DWORD dwFlags, DWORD dwUnused);
81 
82 INT WINAPI LpkPSMTextOut(HDC hdc, int x, int y, LPCWSTR lpString, int cString, DWORD dwFlags);
83 
84 BOOL WINAPI LpkGetTextExtentExPoint(HDC hdc, LPCWSTR lpString, INT cString, INT nMaxExtent,
85  LPINT lpnFit, LPINT lpnDx, LPSIZE lpSize, DWORD dwUnused,
86  int unknown);
87 /* bidi.c */
88 
89 #define WINE_GCPW_FORCE_LTR 0
90 #define WINE_GCPW_FORCE_RTL 1
91 #define WINE_GCPW_LOOSE_LTR 2
92 #define WINE_GCPW_LOOSE_RTL 3
93 #define WINE_GCPW_DIR_MASK 3
94 #define WINE_GCPW_LOOSE_MASK 2
95 
97  _In_ HDC hDC, /* [in] Display DC */
98  _In_ LPCWSTR lpString, /* [in] The string for which information is to be returned */
99  _In_ INT uCount, /* [in] Number of WCHARs in string. */
100  _In_ DWORD dwFlags, /* [in] GetCharacterPlacement compatible flags specifying how to process the string */
101  _In_ DWORD dwWineGCP_Flags, /* [in] Wine internal flags - Force paragraph direction */
102  _Out_ LPWSTR lpOutString, /* [out] Reordered string */
103  _In_ INT uCountOut, /* [in] Size of output buffer */
104  _Out_ UINT *lpOrder, /* [out] Logical -> Visual order map */
105  _Out_ WORD **lpGlyphs, /* [out] reordered, mirrored, shaped glyphs to display */
106  _Out_ INT *cGlyphs /* [out] number of glyphs generated */
107  );
108 
109 #endif /* _LPK_H */
DWORD WINAPI EditVerifyText(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6)
Definition: stub.c:110
INT WINAPI LpkPSMTextOut(HDC hdc, int x, int y, LPCWSTR lpString, int cString, DWORD dwFlags)
Definition: lpk.c:389
_In_ int _Inout_ LPRECT lprc
Definition: winuser.h:4440
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
DWORD WINAPI EditMouseToIch(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:73
DWORD WINAPI EditAdjustCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x5)
Definition: stub.c:140
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
Definition: winddi.h:3799
DWORD WINAPI EditCreateCaret(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:134
static HDC
Definition: imagelist.c:92
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)
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
struct _LPK_LPEDITCONTROL_LIST LPK_LPEDITCONTROL_LIST
int32_t INT
Definition: typedefs.h:57
DWORD WINAPI EditGetLineWidth(DWORD x1, DWORD x2, DWORD x3, DWORD x4)
Definition: stub.c:86
DWORD dwReason
Definition: misc.cpp:154
BOOL WINAPI LpkExtTextOut(HDC hdc, int x, int y, UINT fuOptions, const RECT *lprc, LPCWSTR lpString, UINT uCount, const INT *lpDx, INT unknown)
Definition: lpk.c:202
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD WINAPI LpkUseGDIWidthCache(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:46
DWORD WINAPI EditNextWord(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
Definition: stub.c:116
DWORD WINAPI EditProcessMenu(DWORD x1, DWORD x2)
Definition: stub.c:128
DWORD WINAPI EditDrawText(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5, DWORD x6, DWORD x7)
Definition: stub.c:92
#define _Out_
Definition: no_sal2.h:323
DWORD WINAPI LpkInitialize(DWORD x1)
Definition: stub.c:19
DWORD WINAPI EditSetMenu(DWORD x1, DWORD x2)
Definition: stub.c:122
struct _LPK_LPEDITCONTROL_LIST * PLPK_LPEDITCONTROL_LIST
BOOL WINAPI LpkGetTextExtentExPoint(HDC hdc, LPCWSTR lpString, INT cString, INT nMaxExtent, LPINT lpnFit, LPINT lpnDx, LPSIZE lpSize, DWORD dwUnused, int unknown)
Definition: lpk.c:434
#define WINAPI
Definition: msvc.h:6
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD WINAPI EditIchToXY(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:67
Definition: id3.c:95
DWORD WINAPI EditHScroll(DWORD x1, DWORD x2, DWORD x3)
Definition: stub.c:98
DWORD WINAPI EditMoveSelection(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:104
HDC hdc
Definition: main.c:9
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
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 EditCchInWidth(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:79
#define _In_
Definition: no_sal2.h:204
static HDC hDC
Definition: 3dtext.c:33
DWORD WINAPI EditCreate(DWORD x1, DWORD x2)
Definition: stub.c:61
VOID WINAPI LpkPresent(VOID)
unsigned int UINT
Definition: ndis.h:50
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
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
BOOL WINAPI LpkDllInitialize(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
Definition: lpk.c:175
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD WINAPI LpkGetCharacterPlacement(HDC hdc, LPCWSTR lpString, INT uCount, INT nMaxExtent, GCP_RESULTSW *lpResults, DWORD dwFlags, DWORD dwUnused)
DWORD WINAPI ftsWordBreak(DWORD x1, DWORD x2, DWORD x3, DWORD x4, DWORD x5)
Definition: stub.c:55
int * LPINT
Definition: windef.h:178