ReactOS  0.4.15-dev-1070-ge1a01de
typeof.h
Go to the documentation of this file.
1 #define typeof(X_) __typeof_ ## X_
2 
3 #ifdef _WIN64
4 #define __typeof_intptr long long
5 #define __typeof_longptr long long
6 #else
7 #define __typeof_intptr int
8 #define __typeof_longptr long
9 #endif
10 
11 #ifdef __cplusplus
12 #define __typeof_size size_t
13 #define __typeof_wchar wchar_t
14 #else
15 #define __typeof_size __typeof_intptr
16 #define __typeof_wchar unsigned short
17 #endif
18 
19 struct IUnknown;
20 struct _tagIMEINFO;
21 struct tagSTYLEBUFW;
22 struct tagCANDIDATELIST;
23 struct tagIMEMENUITEMINFOW;
24 struct _xsltStylesheet;
26 struct _iobuf;
28 struct _xmlOutputBuffer;
29 struct _xmlXPathParserContext;
30 struct _xmlDict;
31 enum xsltLoadType;
32 
33 typedef struct IWineD3D * (__stdcall typeof(WineDirect3DCreate))(unsigned int, struct IUnknown *);
34 typedef struct IWineD3DClipper * (__stdcall typeof(WineDirect3DCreateClipper))(struct IUnknown *);
35 typedef int (__stdcall typeof(ImeInquire))(struct _tagIMEINFO *, __typeof_wchar *, const __typeof_wchar *);
36 typedef int (__stdcall typeof(ImeConfigure))(void *, void *, unsigned int, void *);
37 typedef int (__stdcall typeof(ImeDestroy))(unsigned int);
38 typedef __typeof_longptr (__stdcall typeof(ImeEscape))(void *, unsigned int, void *);
39 typedef int (__stdcall typeof(ImeSelect))(void *, int);
40 typedef int (__stdcall typeof(ImeSetActiveContext))(void *, int);
41 typedef unsigned int (__stdcall typeof(ImeToAsciiEx))(unsigned int, unsigned int, unsigned char *, unsigned int *, unsigned int, void *);
42 typedef int (__stdcall typeof(NotifyIME))(void *, unsigned int, unsigned int, unsigned int);
43 typedef int (__stdcall typeof(ImeRegisterWord))(const __typeof_wchar *, unsigned int, const __typeof_wchar *);
44 typedef int (__stdcall typeof(ImeUnregisterWord))(const __typeof_wchar *, unsigned int, const __typeof_wchar *);
45 typedef unsigned int (__stdcall typeof(ImeGetRegisterWordStyle))(unsigned int, struct tagSTYLEBUFW *);
46 typedef unsigned int (__stdcall typeof(ImeEnumRegisterWord))(int (__stdcall *)(const __typeof_wchar *, unsigned int, const __typeof_wchar *, void *), const __typeof_wchar *, unsigned int, const __typeof_wchar *, void *);
47 typedef int (__stdcall typeof(ImeSetCompositionString))(void *, unsigned int, const void *, unsigned int, const void *, unsigned int);
48 typedef unsigned int (__stdcall typeof(ImeConversionList))(void *, const __typeof_wchar *, struct tagCANDIDATELIST *, unsigned int, unsigned int);
49 typedef int (__stdcall typeof(ImeProcessKey))(void *, unsigned int, __typeof_longptr, unsigned char *);
50 typedef unsigned int (__stdcall typeof(ImeGetRegisterWordStyle))(unsigned int, struct tagSTYLEBUFW *);
51 typedef unsigned int (__stdcall typeof(ImeGetImeMenuItems))(void *, unsigned int, unsigned int, struct tagIMEMENUITEMINFOW *, struct tagIMEMENUITEMINFOW *, unsigned int);
52 typedef struct _xmlDoc * (__cdecl typeof(xsltApplyStylesheet))(struct _xsltStylesheet *, struct _xmlDoc *, const char **);
53 typedef struct _xmlDoc * (__cdecl typeof(xsltApplyStylesheetUser))(struct _xsltStylesheet *, struct _xmlDoc *, const char **, const char *, struct _iobuf *, struct _xsltTransformContext *);
56 typedef int (__cdecl typeof(xsltQuoteUserParams))(struct _xsltTransformContext *, const char **);
57 typedef int (__cdecl typeof(xsltSaveResultTo))(struct _xmlOutputBuffer *, struct _xmlDoc *, struct _xsltStylesheet *);
58 typedef struct _xsltStylesheet * (__cdecl typeof(xsltNextImport))(struct _xsltStylesheet *);
61 typedef struct _xsltStylesheet * (__cdecl typeof(xsltParseStylesheetDoc))(struct _xmlDoc *);
62 typedef void (__cdecl typeof(xsltFunctionNodeSet))(struct _xmlXPathParserContext *, int);
63 typedef void (__cdecl typeof(xmlXPathFunction))(struct _xmlXPathParserContext *, int);
64 typedef int (__cdecl typeof(xsltRegisterExtModuleFunction))(const unsigned char *, const unsigned char *, typeof(xmlXPathFunction));
65 typedef struct _xmlDoc * (__cdecl typeof(xsltDocLoaderFunc))(const unsigned char *, struct _xmlDict *, int, void *, enum xsltLoadType);
67 typedef struct jpeg_error_mgr * (__cdecl typeof(jpeg_std_error))(struct jpeg_error_mgr *);
70 typedef int (__cdecl typeof(jpeg_start_decompress))(struct jpeg_decompress_struct *);
71 typedef unsigned int (__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *, unsigned char **, unsigned int);
74 
75 #undef __typeof_intptr
76 #undef __typeof_longptr
77 #undef __typeof_wchar
78 #undef __typeof_size
79 
80 /* EOF */
81 
void xsltFreeStylesheet(xsltStylesheetPtr style)
Definition: xslt.c:950
jpeg_read_header(j_decompress_ptr cinfo, boolean require_image)
Definition: jdapimin.c:245
BOOL WINAPI ImeConfigure(HKL, HWND, DWORD, LPVOID)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
#define __cdecl
Definition: accygwin.h:79
BOOL WINAPI ImeProcessKey(HIMC, UINT, LPARAM, CONST LPBYTE)
UINT WINAPI ImeToAsciiEx(UINT, UINT, CONST LPBYTE, LPDWORD, UINT, HIMC)
xsltStylesheetPtr xsltNextImport(xsltStylesheetPtr cur)
Definition: imports.c:251
DWORD WINAPI ImeGetImeMenuItems(HIMC, DWORD, DWORD, LPIMEMENUITEMINFOW, LPIMEMENUITEMINFOW, DWORD)
LRESULT WINAPI ImeEscape(HIMC, UINT, LPVOID)
xmlDocPtr(* xsltDocLoaderFunc)(const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type)
Definition: documents.h:76
BOOL WINAPI ImeUnregisterWord(LPCWSTR, DWORD, LPCWSTR)
BOOL WINAPI ImeRegisterWord(LPCWSTR, DWORD, LPCWSTR)
xsltTransformContextPtr xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc)
Definition: transform.c:536
int xsltSaveResultTo(xmlOutputBufferPtr buf, xmlDocPtr result, xsltStylesheetPtr style)
Definition: xsltutils.c:1423
#define __typeof_longptr
Definition: typeof.h:8
BOOL WINAPI ImeSetActiveContext(HIMC, BOOL)
Definition: dict.c:116
UINT WINAPI ImeEnumRegisterWord(REGISTERWORDENUMPROCW, LPCWSTR, DWORD, LPCWSTR, LPVOID)
#define __typeof_wchar
Definition: typeof.h:16
int xsltRegisterExtModuleFunction(const xmlChar *name, const xmlChar *URI, xmlXPathFunction function)
Definition: extensions.c:1385
void xsltSetLoaderFunc(xsltDocLoaderFunc f)
Definition: documents.c:104
BOOL WINAPI ImeInquire(LPIMEINFO, LPWSTR, LPCWSTR lpszOptions)
#define __stdcall
Definition: typedefs.h:25
jpeg_finish_decompress(j_decompress_ptr cinfo)
Definition: jdapimin.c:373
void xsltCleanupGlobals(void)
Definition: extensions.c:2276
DWORD WINAPI ImeConversionList(HIMC, LPCWSTR, LPCANDIDATELIST, DWORD, UINT)
void xsltFreeTransformContext(xsltTransformContextPtr ctxt)
Definition: transform.c:690
BOOL WINAPI NotifyIME(HIMC, DWORD, DWORD, DWORD)
BOOL WINAPI ImeSetCompositionString(HIMC, DWORD, LPCVOID, DWORD, LPCVOID, DWORD)
jpeg_destroy_decompress(j_decompress_ptr cinfo)
Definition: jdapimin.c:92
jpeg_read_scanlines(j_decompress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION max_lines)
Definition: jdapistd.c:153
UINT WINAPI ImeGetRegisterWordStyle(UINT, LPSTYLEBUFW)
xsltStylesheetPtr xsltParseStylesheetDoc(xmlDocPtr doc)
Definition: xslt.c:6699
BOOL WINAPI ImeDestroy(UINT)
void xsltFunctionNodeSet(xmlXPathParserContextPtr ctxt, int nargs)
Definition: extra.c:111
int xsltQuoteUserParams(xsltTransformContextPtr ctxt, const char **params)
Definition: variables.c:1689
#define typeof(X_)
Definition: typeof.h:1
Definition: tree.h:551
BOOL WINAPI ImeSelect(HIMC, BOOL)
jpeg_std_error(struct jpeg_error_mgr *err)
Definition: jerror.c:232
#define __typeof_size
Definition: typeof.h:15
jpeg_CreateDecompress(j_decompress_ptr cinfo, int version, size_t structsize)
Definition: jdapimin.c:31
xmlDocPtr xsltApplyStylesheet(xsltStylesheetPtr style, xmlDocPtr doc, const char **params)
Definition: transform.c:6247
xmlDocPtr xsltApplyStylesheetUser(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, const char *output, FILE *profile, xsltTransformContextPtr userCtxt)
Definition: transform.c:6290
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
xsltLoadType
Definition: documents.h:53