source: trunk/stream_ioproc/source/streamproc.h@ 201

Last change on this file since 201 was 4, checked in by stevenhl, 8 years ago

Import modifications from cwmm-0_2_9-work-01_10_2006.zip dated 2006-08-27

File size: 4.1 KB
Line 
1/*
2 * Copyright (c) Chris Wohlgemuth 2002
3 * All rights reserved.
4 *
5 * http://www.geocities.com/SiliconValley/Sector/5785/
6 * http://www.os2world.com/cdwriting
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. The authors name may not be used to endorse or promote products
17 * derived from this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 */
32
33/********************** START OF SPECIFICATIONS *************************/
34/* */
35/* COPYRIGHT: */
36/* Chris Wohlgemuth 2002 */
37/* All Rights Reserved */
38/* */
39/* ABSTRACT: This file is the include/header file for use with the */
40/* STREAM IOProc */
41/* */
42/*********************** END OF SPECIFICATIONS **************************/
43
44
45#pragma pack(2)
46
47static char pszStreamExt [] = "";
48
49
50#if 0
51/****************************************
52 * IOProc information structure, used for every file opened
53 * by this IOProc
54 ****************************************/
55typedef struct _JPGFILESTATUS
56{
57
58 int ft; /* GBM index for the proc to use */
59 int fHandleGBM;
60
61 PBYTE lpRGBBuf; /* 24-bit RGB Buf for translated data */
62 ULONG ulRGBTotalBytes; /* Length of 24-bit RGBBuf */
63
64 LONG lImgBytePos; /* Current pos in RGB buf */
65
66 ULONG ulImgTotalBytes;
67 BOOL bSetHeader; /* TRUE if header set in WRITE mode*/
68
69 MMIMAGEHEADER mmImgHdr; /* Standard image header */
70} JPGFILESTATUS;
71typedef JPGFILESTATUS FAR *PJPGFILESTATUS;
72
73
74#define MMOTION_HEADER_SIZE sizeof (MMOTIONHEADER)
75#define ONE_BLOCK 6L
76#endif
77
78#define FOURCC_STREAM mmioFOURCC('S', 'T', 'R', 'M')
79
80/* RC file defines */
81
82/* #define HEX_FOURCC_STREAM 0x54534143L */
83#define HEX_FOURCC_STREAM 0x4d5453L
84
85#define MMOTION_IOPROC_NAME_TABLE 7000
86#define MMOTION_NLS_CHARSET_INFO 7500
87
88#ifndef BITT_NONE
89#define BITT_NONE 0
90#define BI_NONE 0
91#endif
92
93/**********************
94 * Function Declarations
95 **********************/
96LONG EXPENTRY IOProc_Entry (PVOID pmmioStr, USHORT usMsg,
97 LONG lParam1, LONG lParam2);
98
99
100LONG GetFormatString (LONG lSearchId,
101 PSZ pszFormatString,
102 LONG lBytes);
103
104LONG GetFormatStringLength (LONG lSearchId,
105 PLONG plNameLength);
106
107ULONG APIENTRY GetNLSData (PULONG, PULONG);
108
109#pragma pack()
110
111
112
113
114
115
Note: See TracBrowser for help on using the repository browser.