1999-04-25 18:31:35 +00:00
|
|
|
/*
|
|
|
|
* Common Dialog Boxes interface (32 bit)
|
|
|
|
*
|
|
|
|
* Copyright 1998 Bertho A. Stultiens
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WINE_DLL_CDLG_H
|
|
|
|
#define _WINE_DLL_CDLG_H
|
|
|
|
|
|
|
|
/*---------------- 16-bit ----------------*/
|
|
|
|
extern HINSTANCE16 COMMDLG_hInstance;
|
|
|
|
extern HINSTANCE COMMDLG_hInstance32;
|
|
|
|
|
|
|
|
/*---------------- 32-bit ----------------*/
|
|
|
|
|
|
|
|
/* Common dialogs implementation globals */
|
|
|
|
#define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
|
|
|
|
|
|
|
|
extern HINSTANCE COMDLG32_hInstance;
|
|
|
|
|
|
|
|
void COMDLG32_SetCommDlgExtendedError(DWORD err);
|
|
|
|
LPVOID COMDLG32_AllocMem(int size);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Find/Replace local definitions */
|
|
|
|
|
|
|
|
#define FR_WINE_UNICODE 0x80000000
|
|
|
|
#define FR_WINE_REPLACE 0x40000000
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
FINDREPLACEA fr; /* Internally used structure */
|
|
|
|
union {
|
|
|
|
FINDREPLACEA *fra; /* Reference to the user supplied structure */
|
|
|
|
FINDREPLACEW *frw;
|
|
|
|
} user_fr;
|
|
|
|
} COMDLG32_FR_Data;
|
|
|
|
|
1999-07-27 16:20:36 +00:00
|
|
|
#include "commctrl.h"
|
|
|
|
extern HDPA (WINAPI* COMDLG32_DPA_Create) (INT);
|
|
|
|
extern LPVOID (WINAPI* COMDLG32_DPA_GetPtr) (const HDPA, INT);
|
|
|
|
extern LPVOID (WINAPI* COMDLG32_DPA_DeleteAllPtrs) (const HDPA hdpa);
|
|
|
|
extern LPVOID (WINAPI* COMDLG32_DPA_DeletePtr) (const HDPA hdpa, INT i);
|
|
|
|
extern INT (WINAPI* COMDLG32_DPA_InsertPtr) (const HDPA, INT, LPVOID);
|
|
|
|
extern BOOL (WINAPI* COMDLG32_DPA_Destroy) (const HDPA);
|
|
|
|
|
|
|
|
extern HICON (WINAPI* COMDLG32_ImageList_GetIcon) (HIMAGELIST, INT, UINT);
|
|
|
|
extern HIMAGELIST (WINAPI *COMDLG32_ImageList_LoadImageA) (HINSTANCE, LPCSTR, INT, INT, COLORREF, UINT, UINT);
|
|
|
|
extern BOOL (WINAPI* COMDLG32_ImageList_Draw) (HIMAGELIST himl, int i, HDC hdcDest, int x, int y, UINT fStyle);
|
1999-04-25 18:31:35 +00:00
|
|
|
#endif
|
|
|
|
|