Update contrib.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 #ifndef __RESOURCEHWDEVICEINITSTRUCTS_RH__
19 #define __RESOURCEHWDEVICEINITSTRUCTS_RH__
21 // STRUCTURE DEFINITIONS
23 STRUCT DAL_RESOURCE_DATA
25 LONG mode; // resource mode for which the data is
26 STRUCT cap_data; // --> client-specific capability data STRUCT
29 // -----------------------------------------------------------------------------
30 // DAL_RESOURCE_DATA_RESOURCE
31 // Structure for hardware device management resource
32 // -----------------------------------------------------------------------------
34 STRUCT DAL_RESOURCE_DATA_RESOURCE
36 LONG uid; // resource type UID
37 STRUCT data[]; // array of DMS_RESOURCE_DATA
40 // -----------------------------------------------------------------------------
41 // HWDEVICE_CAPABILITIES_DATA
42 // Structure for hardware device capabilities data
43 // -----------------------------------------------------------------------------
45 STRUCT HWDEVICE_CAPABILITIES_DATA WORD
47 LONG Rate; // Sample Rates supported
48 LONG Encoding; // Encodings supported
49 LONG Channels; // Mono/Stereo support
50 LONG BufferSize; // Buffer size sup
53 #endif // __RESOURCEHWDEVICEINITSTRUCTS_RH__