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

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

Import sources from cwmm-full.zip dated 2005-03-21

File size: 4.0 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('C', 'A', 'S', 'T')
79
80/* RC file defines */
81
82#define HEX_FOURCC_STREAM 0x54534143L
83
84#define MMOTION_IOPROC_NAME_TABLE 7000
85#define MMOTION_NLS_CHARSET_INFO 7500
86
87#ifndef BITT_NONE
88#define BITT_NONE 0
89#define BI_NONE 0
90#endif
91
92/**********************
93 * Function Declarations
94 **********************/
95LONG EXPENTRY IOProc_Entry (PVOID pmmioStr, USHORT usMsg,
96 LONG lParam1, LONG lParam2);
97
98
99LONG GetFormatString (LONG lSearchId,
100 PSZ pszFormatString,
101 LONG lBytes);
102
103LONG GetFormatStringLength (LONG lSearchId,
104 PLONG plNameLength);
105
106ULONG APIENTRY GetNLSData (PULONG, PULONG);
107
108#pragma pack()
109
110
111
112
113
114
Note: See TracBrowser for help on using the repository browser.