~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/cfgmgr32.h

Version: ~ [ wine-1.0-rc1 ] ~ [ wine-0.9.61 ] ~ [ wine-0.9.60 ] ~ [ wine-0.9.59 ] ~ [ wine-0.9.58 ] ~ [ wine-0.9.57 ] ~ [ wine-0.9.56 ] ~ [ wine-0.9.55 ] ~ [ wine-0.9.54 ] ~ [ wine-0.9.53 ] ~ [ wine-0.9.52 ] ~ [ wine-0.9.51 ] ~ [ wine-0.9.50 ] ~ [ wine-0.9.49 ] ~ [ wine-0.9.48 ] ~ [ wine-0.9.47 ] ~ [ wine-0.9.46 ] ~ [ wine-0.9.45 ] ~ [ wine-0.9.44 ] ~ [ wine-0.9.43 ] ~ [ wine-0.9.42 ] ~ [ wine-0.9.41 ] ~ [ wine-0.9.40 ] ~ [ wine-0.9.39 ] ~ [ wine-0.9.38 ] ~ [ wine-0.9.37 ] ~ [ wine-0.9.36 ] ~ [ wine-0.9.35 ] ~ [ wine-0.9.34 ] ~ [ wine-0.9.33 ] ~ [ wine-0.9.32 ] ~ [ wine-0.9.31 ] ~ [ wine-0.9.30 ] ~ [ wine-0.9.29 ] ~ [ wine-0.9.28 ] ~ [ wine-0.9.27 ] ~ [ wine-0.9.26 ] ~ [ wine-0.9.25 ] ~ [ wine-0.9.24 ] ~ [ wine-0.9.23 ] ~ [ wine-0.9.22 ] ~ [ wine-0.9.21 ] ~ [ wine-0.9.20 ] ~ [ wine-0.9.19 ] ~ [ wine-0.9.18 ] ~ [ wine-0.9.17 ] ~ [ wine-0.9.16 ] ~ [ wine-0.9.15 ] ~ [ wine-0.9.14 ] ~ [ wine-0.9.13 ] ~ [ wine-0.9.12 ] ~ [ wine-0.9.11 ] ~ [ wine-0.9.10 ] ~ [ wine-0.9.9 ] ~ [ wine-0.9.8 ] ~ [ wine-0.9.7 ] ~ [ wine-0.9.6 ] ~ [ wine-0.9.5 ] ~ [ wine-0.9.4 ] ~ [ wine-0.9.3 ] ~ [ wine-0.9.2 ] ~ [ wine-0.9.1 ] ~ [ wine-0.9 ] ~ [ wine20050930 ] ~ [ wine20050830 ] ~ [ wine20050725 ] ~ [ wine20050628 ] ~ [ wine20050524 ] ~ [ wine20050419 ] ~ [ wine20050310 ] ~ [ wine20050211 ] ~ [ wine20050111 ] ~ [ wine20041201 ] ~ [ wine20041019 ] ~ [ wine20040914 ] ~ [ wine20040813 ] ~ [ wine20040716 ] ~ [ wine20040615 ] ~ [ wine20040505 ] ~ [ wine20040408 ] ~ [ wine20040309 ] ~ [ wine20040213 ] ~ [ wine20040121 ] ~ [ wine20031212 ] ~ [ wine20031118 ] ~ [ wine20031016 ] ~ [ wine20030911 ] ~ [ wine20030813 ] ~ [ wine20030709 ] ~ [ wine20030618 ] ~ [ wine20030508 ] ~ [ wine20030408 ] ~ [ wine20030318 ] ~ [ wine20030219 ] ~ [ wine20030115 ] ~ [ wine20021219 ] ~ [ wine20021125 ] ~ [ wine20021031 ] ~ [ wine20021007 ] ~ [ wine20020904 ] ~ [ wine20020804 ] ~ [ wine20020710 ] ~ [ wine20020605 ] ~ [ wine20020509 ] ~ [ wine20020411 ] ~ [ wine20020310 ] ~ [ wine20020228 ] ~ [ wine20011226 ] ~ [ wine20011108 ] ~ [ wine20011004 ] ~ [ wine20010824 ] ~ [ wine20010731 ] ~ [ wine20010629 ] ~ [ wine20010510 ] ~ [ wine20010418 ] ~ [ wine20010326 ] ~ [ wine20010305 ] ~ [ wine20010216 ] ~ [ wine20010112 ] ~ [ wine20001222 ] ~ [ wine20001202 ] ~ [ wine20001026 ] ~ [ wine20001002 ] ~ [ wine20000909 ] ~ [ wine20000821 ] ~ [ wine20000801 ] ~ [ wine20000716 ] ~ [ wine20000326 ] ~ [ wine20000227 ] ~ [ wine20000130 ] ~ [ wine20000109 ] ~

  1 /*
  2  * Copyright (C) 2005 Mike McCormack
  3  *
  4  * This library is free software; you can redistribute it and/or
  5  * modify it under the terms of the GNU Lesser General Public
  6  * License as published by the Free Software Foundation; either
  7  * version 2.1 of the License, or (at your option) any later version.
  8  *
  9  * This library is distributed in the hope that it will be useful,
 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 12  * Lesser General Public License for more details.
 13  *
 14  * You should have received a copy of the GNU Lesser General Public
 15  * License along with this library; if not, write to the Free Software
 16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 17  */
 18 
 19 #ifndef _CFGMGR32_H_
 20 #define _CFGMGR32_H_
 21 
 22 /* FIXME: #include <cfg.h> */
 23 
 24 #define CMAPI
 25 typedef DWORD CONFIGRET;
 26 
 27 #define CR_SUCCESS                      0x00
 28 #define CR_DEFAULT                      0x01
 29 #define CR_OUT_OF_MEMORY                0x02
 30 #define CR_INVALID_POINTER              0x03
 31 #define CR_INVALID_FLAG                 0x04
 32 #define CR_INVALID_DEVNODE              0x05
 33 #define CR_INVALID_DEVINST              CR_INVALID_DEVNODE
 34 #define CR_INVALID_RES_DES              0x06
 35 #define CR_INVALID_LOG_CONF             0x07
 36 #define CR_INVALID_ARBITRATOR           0x08
 37 #define CR_INVALID_NODELIST             0x09
 38 #define CR_DEVNODE_HAS_REQS             0x0a
 39 #define CR_DEVINST_HAS_REQS             CR_DEVNODE_HAS_REQS
 40 #define CR_INVALID_RESOURCEID           0x0b
 41 #define CR_DLVXD_NOT_FOUND              0x0c
 42 #define CR_NO_SUCH_DEVNODE              0x0d
 43 #define CR_NO_SUCH_DEVINST              CR_NO_SUCH_DEVNODE
 44 #define CR_NO_MORE_LOG_CONF             0x0e
 45 #define CR_NO_MORE_RES_DES              0x0f
 46 #define CR_ALREADY_SUCH_DEVNODE         0x10
 47 #define CR_ALREADY_SUCH_DEVINST         CR_ALREADY_SUCH_DEVNODE
 48 #define CR_INVALID_RANGE_LIST           0x11
 49 #define CR_INVALID_RANGE                0x12
 50 #define CR_FAILURE                      0x13
 51 #define CR_NO_SUCH_LOGICAL_DEV          0x14
 52 #define CR_CREATE_BLOCKED               0x15
 53 #define CR_NOT_SYSTEM_VM                0x16
 54 #define CR_REMOVE_VETOED                0x17
 55 #define CR_APM_VETOED                   0x18
 56 #define CR_INVALID_LOAD_TYPE            0x19
 57 #define CR_BUFFER_SMALL                 0x1a
 58 #define CR_NO_ARBITRATOR                0x1b
 59 #define CR_NO_REGISTRY_HANDLE           0x1c
 60 #define CR_REGISTRY_ERROR               0x1d
 61 #define CR_INVALID_DEVICE_ID            0x1e
 62 #define CR_INVALID_DATA                 0x1f
 63 #define CR_INVALID_API                  0x20
 64 #define CR_DEVLOADER_NOT_READY          0x21
 65 #define CR_NEED_RESTART                 0x22
 66 #define CR_NO_MORE_HW_PROFILES          0x23
 67 #define CR_DEVICE_NOT_THERE             0x24
 68 #define CR_NO_SUCH_VALUE                0x25
 69 #define CR_WRONG_TYPE                   0x26
 70 #define CR_INVALID_PRIORITY             0x27
 71 #define CR_NOT_DISABLEABLE              0x28
 72 #define CR_FREE_RESOURCES               0x29
 73 #define CR_QUERY_VETOED                 0x2a
 74 #define CR_CANT_SHARE_IRQ               0x2b
 75 #define CR_NO_DEPENDENT                 0x2c
 76 #define CR_SAME_RESOURCES               0x2d
 77 #define CR_NO_SUCH_REGISTRY_KEY         0x2e
 78 #define CR_INVALID_MACHINENAME          0x2f
 79 #define CR_REMOTE_COMM_FAILURE          0x30
 80 #define CR_MACHINE_UNAVAILABLE          0x31
 81 #define CR_NO_CM_SERVICES               0x32
 82 #define CR_ACCESS_DENIED                0x33
 83 #define CR_CALL_NOT_IMPLEMENTED         0x34
 84 #define CR_INVALID_PROPERTY             0x35
 85 #define CR_DEVICE_INTERFACE_ACTIVE      0x36
 86 #define CR_NO_SUCH_DEVICE_INTERFACE     0x37
 87 #define CR_INVALID_REFERENCE_STRING     0x38
 88 #define CR_INVALID_CONFLICT_LIST        0x39
 89 #define CR_INVALID_INDEX                0x3a
 90 #define CR_INVALID_STRUCTURE_SIZE       0x3b
 91 #define NUM_CR_RESULTS                  0x3c
 92 
 93 #define MAX_CLASS_NAME_LEN              32
 94 #define MAX_GUID_STRING_LEN             39
 95 #define MAX_PROFILE_LEN                 80
 96 
 97 typedef DWORD DEVINST, *PDEVINST;
 98 typedef DWORD DEVNODE, *PDEVNODE;
 99 typedef HANDLE HMACHINE, *PHMACHINE;
100 
101 #ifdef __cplusplus
102 extern "C" {
103 #endif
104 
105 CMAPI CONFIGRET WINAPI CM_Connect_MachineA(PCSTR,PHMACHINE);
106 CMAPI CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR,PHMACHINE);
107 #define     CM_Connect_Machine WINELIB_NAME_AW(CM_Connect_Machine)
108 CMAPI CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE);
109 CMAPI CONFIGRET WINAPI CM_Get_Device_IDA(DEVINST,PSTR,ULONG,ULONG);
110 CMAPI CONFIGRET WINAPI CM_Get_Device_IDW(DEVINST,PWSTR,ULONG,ULONG);
111 #define     CM_Get_Device_ID WINELIB_NAME_AW(CM_Get_Device_ID)
112 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListA(PCSTR,PCHAR,ULONG,ULONG);
113 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListW(PCWSTR,PWCHAR,ULONG,ULONG);
114 #define     CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
115 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExA(PCSTR,PCHAR,ULONG,ULONG,HMACHINE);
116 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExW(PCWSTR,PWCHAR,ULONG,ULONG,HMACHINE);
117 #define     CM_Get_Device_ID_List_Ex WINELIB_NAME_AW(CM_Get_Device_ID_List_Ex)
118 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size(PULONG,DEVINST,ULONG);
119 CMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE);
120 
121 #ifdef __cplusplus
122 }
123 #endif
124 
125 #endif /* _CFGMGR32_H_ */
126 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.