mirror of
https://github.com/reactos/wine.git
synced 2024-12-13 06:16:14 +00:00
0799c1a780
Global replacement of debugtools.h by wine/debug.h.
87 lines
2.7 KiB
C
87 lines
2.7 KiB
C
/*
|
|
* Copyright 2001 Hidenori TAKESHIMA <hidenori@a2.ctktv.ne.jp>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __WINE_AVIFILE_PRIVATE_H
|
|
#define __WINE_AVIFILE_PRIVATE_H
|
|
|
|
typedef struct
|
|
{
|
|
HANDLE hHeap;
|
|
DWORD dwAVIFileRef;
|
|
DWORD dwClassObjRef;
|
|
BOOL fInitCOM;
|
|
} WINE_AVIFILE_DATA;
|
|
|
|
extern WINE_AVIFILE_DATA AVIFILE_data;
|
|
|
|
INT AVIFILE_strlenAtoW( LPCSTR lpstr );
|
|
INT AVIFILE_strlenWtoA( LPCWSTR lpwstr );
|
|
LPWSTR AVIFILE_strncpyAtoW( LPWSTR lpwstr, LPCSTR lpstr, INT wbuflen );
|
|
LPSTR AVIFILE_strncpyWtoA( LPSTR lpstr, LPCWSTR lpwstr, INT abuflen );
|
|
LPWSTR AVIFILE_strdupAtoW( LPCSTR lpstr );
|
|
LPSTR AVIFILE_strdupWtoA( LPCWSTR lpwstr );
|
|
|
|
HRESULT WINAPI AVIFILE_DllGetClassObject(const CLSID* pclsid,const IID* piid,void** ppv);
|
|
|
|
HRESULT AVIFILE_CreateIAVIFile(void** ppobj);
|
|
HRESULT AVIFILE_IAVIFile_Open( PAVIFILE paf, LPCWSTR szFile, UINT uMode );
|
|
HRESULT AVIFILE_IAVIFile_GetIndexTable( PAVIFILE paf, DWORD dwStreamIndex,
|
|
AVIINDEXENTRY** ppIndexEntry,
|
|
DWORD* pdwCountOfIndexEntry );
|
|
HRESULT AVIFILE_IAVIFile_ReadMovieData( PAVIFILE paf, DWORD dwOffset,
|
|
DWORD dwLength, LPVOID lpvBuf );
|
|
|
|
HRESULT AVIFILE_CreateIAVIStream(void** ppobj);
|
|
|
|
HRESULT AVIFILE_CreateIGetFrame(void** ppobj,
|
|
IAVIStream* pstr,LPBITMAPINFOHEADER lpbi);
|
|
|
|
|
|
typedef struct
|
|
{
|
|
DWORD dwStreamIndex;
|
|
AVIStreamHeader* pstrhdr;
|
|
BYTE* pbFmt;
|
|
DWORD dwFmtLen;
|
|
} WINE_AVISTREAM_DATA;
|
|
|
|
WINE_AVISTREAM_DATA* AVIFILE_Alloc_IAVIStreamData( DWORD dwFmtLen );
|
|
void AVIFILE_Free_IAVIStreamData( WINE_AVISTREAM_DATA* pData );
|
|
|
|
/* this should be moved to vfw.h */
|
|
#ifndef FIND_DIR
|
|
#define FIND_DIR 0x0000000FL
|
|
#define FIND_NEXT 0x00000001L
|
|
#define FIND_PREV 0x00000004L
|
|
#define FIND_FROM_START 0x00000008L
|
|
|
|
#define FIND_TYPE 0x000000F0L
|
|
#define FIND_KEY 0x00000010L
|
|
#define FIND_ANY 0x00000020L
|
|
#define FIND_FORMAT 0x00000040L
|
|
|
|
#define FIND_RET 0x0000F000L
|
|
#define FIND_POS 0x00000000L
|
|
#define FIND_LENGTH 0x00001000L
|
|
#define FIND_OFFSET 0x00002000L
|
|
#define FIND_SIZE 0x00003000L
|
|
#define FIND_INDEX 0x00004000L
|
|
#endif
|
|
|
|
#endif /* __WINE_AVIFILE_PRIVATE_H */
|