source: cmedia/trunk/Vsd/AudioIF/vsdinfo.c@ 577

Last change on this file since 577 was 354, checked in by stevenhl, 18 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.8 KB
Line 
1/***********************START OF SPECIFICATIONS ****************
2*
3* SOURCE FILE NAME: VSDINFO.C
4*
5* DESCRIPTIVE NAME: This source file is unused.
6*
7*
8* COPYRIGHT: IBM Confidential
9* Copyright (c) IBM Corporation 1991
10* All Rights Reserved
11*
12* FUNCTION: This source module will return the name of the PPD and VSD
13*
14* Change History:
15* DATE DEVELOPER CHANGE DESCRIPTION
16* 07/22/93 Linden deCarmo File created
17*
18************************** END OF SPECIFICATIONS **************************/
19
20#define INCL_NOPMAPI
21#define INCL_DOS
22#define INCL_ERRORS
23#define INCL_RESOURCES
24
25#define INCL_AUDIO_VSD
26
27
28#include <os2.h>
29#include <os2me.h>
30#include <mcd.h>
31#include <audio.h>
32#include <stdio.h>
33#include <stdlib.h>
34#include <string.h>
35#include <hhpheap.h>
36
37#include <vsdcmds.h>
38#include <vsdaud.h>
39
40
41///************************ START OF SPECIFICATIONS **************************
42//*
43//* SUBROUTINE NAME: Info_Driver
44//*
45//* FUNCTION: Returns Device information string
46//*
47//* INPUT: lParam1 - pointer to Info Parms structure
48//* lParam2 - flag indicating type of info to return.
49//*
50//* OUTPUT: returns VSDERR_SUCCESS if successful, otherwise it returns an
51//* MCI error code.
52//*
53//* OS/2 CALLS: None.
54//*
55//* C CALLS: None.
56//*
57//* INTERNAL CALLS: None.
58//*
59//*************************** END OF SPECIFICATIONS *************************/
60//
61//LONG VSDGetProdInfo( PVSD_INSTANCE pInstance,
62// PVSD_GETPRODINFO_PARMS pInfoParms )
63// {
64//
65// LONG lError = VSDERR_SUCCESS;
66// LPMCI_INFO_PARMS prInfoParms;
67// ULONG i;
68//
69//
70// if ( pInstance->fDriverCaps )
71// {
72// ULONG ulParmLengthInOut;
73// ULONG ulDataLengthInOut;
74// MCI_AUDIO_CAPS audiocap;
75//
76// /*---------------------------------------------------------
77// * Determine if the device supports the mode that we requested
78// *----------------------------------------------------------*/
79//
80// audiocap.ulFlags = DRIVER_NAME;
81//
82// lError = DosDevIOCtl( pInstance->hFile,
83// AUDIO_IOCTL_CAT,
84// AUDIO_CAPABILITY,
85// NULL,
86// 0L,
87// &ulParmLengthInOut,
88// &audiocap,
89// (LONG) sizeof(MCI_AUDIO_CAPS),
90// &ulDataLengthInOut);
91//
92// strcpy( ( PVOID ) pInfoParms->VSD.szProdInfo, audiocap.szDriverName );
93//
94// }
95// else
96// {
97// /* Note: VSD is DIRT simple--it assumes that it has valid memory */
98//
99// strcpy( ( PVOID ) pInfoParms->VSD.szProdInfo, pInstance->pProdInfo );
100// }
101//
102// return(lError);
103//
104// } /* VSDQueryProdInfo */
105
106
Note: See TracBrowser for help on using the repository browser.