windows-nt/Source/XPSP1/NT/multimedia/media/avi/mciwnd/preview.h
2020-09-26 16:20:57 +08:00

67 lines
1.3 KiB
C

/****************************************************************************
*
* 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