source: cmedia/trunk/Vsd/AudioIF/ddcmd.h@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 2.9 KB
Line 
1/************************ START OF SPECIFICATIONS ***************************/
2/* */
3/* SOURCE FILE NAME: DDCMD.H */
4/* */
5/* DESCRIPTIVE NAME: SSMDLL.C header file */
6/* */
7/* COPYRIGHT: IBM Confidential */
8/* Copyright (c) IBM Corporation 1991 */
9/* All Rights Reserved */
10/* */
11/* STATUS: OS/2 Release 2.0 */
12/* */
13/* FUNCTION: This source module contains the defines and prototypes for the */
14/* SMMDLL.C module. */
15/* */
16/* MODIFICATION HISTORY: */
17/* DATE DEVELOPER CHANGE DESCRIPTION */
18/* -------- ----------- -------------------- */
19/* 11/11/93 Brian Czako Initial code added to module. */
20/* 07/22/94 Mike Koval WPOS Changes for WorkPlace OS */
21/*************************** END OF SPECIFICATIONS **************************/
22
23/* Prototypes */
24
25////////ULONG DDCMDEntryPoint (PDDCMDCOMMON, ULONG); // Defined in VSDAUD.H
26
27ULONG DDCmdSetup (PDDCMDSETUP);
28ULONG DDCmdRead (PDDCMDREADWRITE);
29ULONG DDCmdWrite (PDDCMDREADWRITE);
30ULONG DDCmdStatus (PDDCMDSTATUS);
31ULONG DDCmdControl (PDDCMDCONTROL);
32ULONG DDCmdRegister (PDDCMDREGISTER);
33ULONG DDCmdDeRegister (PDDCMDDEREGISTER);
34
35#define DDSH_CATEGORY_INTERNAL 0x0080
36#define DDCMD_PROCCNT_MTX "\\SEM32\\DDCMD" /* SSM initialization semaphore */ /*FIX001*/
37
38typedef struct _DDSHPARMS
39{
40 PVOID pBuffer;
41 ULONG rc;
42} DDSHPARMS;
43
44#define MAX_STREAM_NUM 64 // max number of streams
45
46//-----------------------------------------------------------------------------
47#ifdef INCL_MM_OS2
48typedef struct _STREAM
49{
50 HFILE hfileDDSHPDD; // handle to ring 0 stub WPOS
51} STREAM;
52typedef STREAM *PSTREAM;
53#endif
54//-----------------------------------------------------------------------------
55
56
57//-----------------------------------------------------------------------------
58#ifdef INCL_MM_WPOS
59ULONG XvsdDDCMDEntryPoint (PVOID pEntry);
60#endif
61//-----------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.