Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e743e091
Commit
e743e091
authored
Apr 29, 2003
by
Robert Reif
Committed by
Alexandre Julliard
Apr 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added partial property set support which is used by dxdiag.exe.
parent
144d7f5d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
171 additions
and
8 deletions
+171
-8
dsound_main.c
dlls/dsound/dsound_main.c
+0
-8
propset.c
dlls/dsound/propset.c
+0
-0
Makefile.in
include/Makefile.in
+1
-0
dsconf.h
include/dsconf.h
+169
-0
dxguid.c
libs/uuid/dxguid.c
+1
-0
No files found.
dlls/dsound/dsound_main.c
View file @
e743e091
...
...
@@ -920,16 +920,8 @@ static HRESULT WINAPI DSCF_CreateInstance(
IsEqualGUID
(
&
IID_IDirectSoundCapture8
,
riid
)
)
{
return
DirectSoundCaptureCreate8
(
0
,(
LPDIRECTSOUNDCAPTURE8
*
)
ppobj
,
pOuter
);
}
/* DxDiag tries to create this */
if
(
IsEqualGUID
(
&
IID_IKsPropertySet
,
riid
)
)
{
FIXME
(
"(%p,%p,%s,%p) IID_IKsPropertySet not implemented
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
/* FIXME: what is DxDiag looking for here? */
#if 0
return
IKsPropertySetImpl_Create
(
0
,(
IKsPropertySetImpl
**
)
ppobj
);
#else
return
E_NOINTERFACE
;
#endif
}
FIXME
(
"(%p,%p,%s,%p) Interface not found!
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
...
...
dlls/dsound/propset.c
View file @
e743e091
This diff is collapsed.
Click to expand it.
include/Makefile.in
View file @
e743e091
...
...
@@ -54,6 +54,7 @@ WINDOWS_INCLUDES = \
docobj.h
\
dplay.h
\
dplobby.h
\
dsconf.h
\
dsdriver.h
\
dshow.h
\
dsound.h
\
...
...
include/dsconf.h
0 → 100644
View file @
e743e091
/*
* Copyright (C) 2003 Robert Reif
*
* 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_DSCONF_H
#define __WINE_DSCONF_H
#include "dsound.h"
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
/*****************************************************************************
* Predeclare the interfaces
*/
DEFINE_GUID
(
CLSID_DirectSoundPrivate
,
0x11ab3ec0
,
0x25ec
,
0x11d1
,
0xa4
,
0xd8
,
0x00
,
0xc0
,
0x4f
,
0xc2
,
0x8a
,
0xca
);
DEFINE_GUID
(
DSPROPSETID_DirectSoundDevice
,
0x84624f82
,
0x25ec
,
0x11d1
,
0xa4
,
0xd8
,
0x00
,
0xc0
,
0x4f
,
0xc2
,
0x8a
,
0xca
);
typedef
enum
{
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
=
1
,
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1
=
2
,
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1
=
3
,
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
=
4
,
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
=
5
,
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
=
6
,
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
=
7
,
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
=
8
,
}
DSPROPERTY_DIRECTSOUNDDEVICE
;
#ifdef UNICODE
#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W
#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W
#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W
#else
#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A
#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A
#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A
#endif
typedef
enum
{
DIRECTSOUNDDEVICE_TYPE_EMULATED
,
DIRECTSOUNDDEVICE_TYPE_VXD
,
DIRECTSOUNDDEVICE_TYPE_WDM
}
DIRECTSOUNDDEVICE_TYPE
;
typedef
enum
{
DIRECTSOUNDDEVICE_DATAFLOW_RENDER
,
DIRECTSOUNDDEVICE_DATAFLOW_CAPTURE
}
DIRECTSOUNDDEVICE_DATAFLOW
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
{
LPSTR
DeviceName
;
DIRECTSOUNDDEVICE_DATAFLOW
DataFlow
;
GUID
DeviceId
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
{
LPWSTR
DeviceName
;
DIRECTSOUNDDEVICE_DATAFLOW
DataFlow
;
GUID
DeviceId
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
;
#ifdef UNICODE
#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_W_DATA
#else
#define DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA DSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_WAVEDEVICEMAPPING_A_DATA
#endif
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
{
GUID
DeviceId
;
CHAR
DescriptionA
[
0x100
];
WCHAR
DescriptionW
[
0x100
];
CHAR
ModuleA
[
MAX_PATH
];
WCHAR
ModuleW
[
MAX_PATH
];
DIRECTSOUNDDEVICE_TYPE
Type
;
DIRECTSOUNDDEVICE_DATAFLOW
DataFlow
;
ULONG
WaveDeviceId
;
ULONG
Devnode
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
{
DIRECTSOUNDDEVICE_TYPE
Type
;
DIRECTSOUNDDEVICE_DATAFLOW
DataFlow
;
GUID
DeviceId
;
LPSTR
Description
;
LPSTR
Module
;
LPSTR
Interface
;
ULONG
WaveDeviceId
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
{
DIRECTSOUNDDEVICE_TYPE
Type
;
DIRECTSOUNDDEVICE_DATAFLOW
DataFlow
;
GUID
DeviceId
;
LPWSTR
Description
;
LPWSTR
Module
;
LPWSTR
Interface
;
ULONG
WaveDeviceId
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
;
#ifdef UNICODE
#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
#else
#define DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
#endif
typedef
BOOL
(
CALLBACK
*
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1
)(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA
,
LPVOID
);
typedef
BOOL
(
CALLBACK
*
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA
)(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA
,
LPVOID
);
typedef
BOOL
(
CALLBACK
*
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW
)(
PDSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA
,
LPVOID
);
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
{
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1
Callback
;
LPVOID
Context
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
{
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA
Callback
;
LPVOID
Context
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
;
typedef
struct
_DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
{
LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW
Callback
;
LPVOID
Context
;
}
DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
,
*
PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
;
#ifdef UNICODE
#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA
#else
#define DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
#define PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_DATA PDSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* __WINE_DSCONF_H */
libs/uuid/dxguid.c
View file @
e743e091
...
...
@@ -34,6 +34,7 @@
#include "ddraw.h"
#include "dsound.h"
#include "dsdriver.h"
#include "dsconf.h"
#include "dmusicc.h"
#include "dmusici.h"
#include "dmusics.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment