1/* 2 * Copyright (c) 2010 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23/* 24 File: DeviceControlPriv.i 25 26 Contains: xxx put contents here xxx 27 28 Version: xxx put version here xxx 29 30 Copyright: � 1999 by Apple Computer, Inc., all rights reserved. 31 32 File Ownership: 33 34 DRI: xxx put dri here xxx 35 36 Other Contact: xxx put other contact here xxx 37 38 Technology: xxx put technology here xxx 39 40 Writers: 41 42 (KW) Kevin Williams 43 (GDW) George D. Wilson Jr. 44 45 Change History (most recent first): 46 47 <3> 6/15/99 KW fix screwup 48 <2> 6/15/99 KW add subtype 49 <1> 6/15/99 GDW first checked in 50*/ 51 52 53#include <DeviceControl.i> 54 55 56 57typedef UInt32 DeviceConnectionID; 58 59enum 60{ 61 kDeviceControlComponentType = 'devc', /* Component type */ 62 kDeviceControlSubtypeFWDV = 'fwdv' /* Component subtype */ 63}; 64 65 66 67 68/* Private calls made by the Isoc component */ 69 70 71%TellEmitter "components" "prefix DeviceControl"; 72 73pascal <exportset=IDHLib_10> 74ComponentResult DeviceControlEnableAVCTransactions(ComponentInstance instance) = ComponentCall(0x100); 75 76pascal <exportset=IDHLib_10> 77ComponentResult DeviceControlDisableAVCTransactions(ComponentInstance instance) = ComponentCall(0x101); 78 79pascal <exportset=IDHLib_10> 80ComponentResult DeviceControlSetDeviceConnectionID(ComponentInstance instance, DeviceConnectionID connectionID) = ComponentCall(0x102); 81 82pascal <exportset=IDHLib_10> 83 ComponentResult DeviceControlGetDeviceConnectionID(ComponentInstance instance, DeviceConnectionID *connectionID) = ComponentCall(0x103); 84 85%TellEmitter "components" "emitProcInfos"; 86%TellEmitter "c" "emitComponentSelectors"; 87