You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.4 KiB
66 lines
1.4 KiB
/****************************************************************************
|
|
*
|
|
* MODULE : PREVIEW.H
|
|
*
|
|
****************************************************************************/
|
|
|
|
#if !defined INC_PREVIEW
|
|
#define INC_PREVIEW
|
|
|
|
// begin_vfw32
|
|
#ifdef OFN_READONLY
|
|
// end_vfw32
|
|
|
|
#ifdef WIN32
|
|
|
|
#ifndef VFWAPI
|
|
#define VFWAPI WINAPI
|
|
#define VFWAPIV WINAPIV
|
|
#endif
|
|
|
|
// begin_vfw32
|
|
|
|
BOOL
|
|
VFWAPI
|
|
GetOpenFileNamePreviewA(
|
|
IN OUT LPOPENFILENAMEA lpofn
|
|
);
|
|
|
|
BOOL
|
|
VFWAPI
|
|
GetSaveFileNamePreviewA(
|
|
IN OUT LPOPENFILENAMEA lpofn
|
|
);
|
|
|
|
BOOL
|
|
VFWAPI
|
|
GetOpenFileNamePreviewW(
|
|
IN OUT LPOPENFILENAMEW lpofn
|
|
);
|
|
|
|
BOOL
|
|
VFWAPI
|
|
GetSaveFileNamePreviewW(
|
|
IN OUT LPOPENFILENAMEW lpofn
|
|
);
|
|
|
|
#ifdef UNICODE
|
|
#define GetOpenFileNamePreview GetOpenFileNamePreviewW
|
|
#define GetSaveFileNamePreview GetSaveFileNamePreviewW
|
|
#else
|
|
#define GetOpenFileNamePreview GetOpenFileNamePreviewA
|
|
#define GetSaveFileNamePreview GetSaveFileNamePreviewA
|
|
#endif
|
|
|
|
// end_vfw32
|
|
|
|
#else
|
|
|
|
BOOL FAR PASCAL _loadds GetOpenFileNamePreview(LPOPENFILENAME lpofn);
|
|
BOOL FAR PASCAL _loadds GetSaveFileNamePreview(LPOPENFILENAME lpofn);
|
|
|
|
#endif // WIN32
|
|
// begin_vfw32
|
|
#endif // OFN_READONLY
|
|
// end_vfw32
|
|
#endif // INC_PREVIEW
|