mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 08:13:18 +00:00
8551f8ca98
Implementation of a proxy ODBC32 dll.
502 lines
8.5 KiB
C
502 lines
8.5 KiB
C
/* Do not modify this file -- it is automatically generated! */
|
|
|
|
#include "debugtools.h"
|
|
|
|
#define DEBUG_CLASS_COUNT __DBCL_COUNT
|
|
|
|
#ifdef DEBUG_RUNTIME
|
|
|
|
const char * const debug_cl_name[] = { "fixme", "err", "warn", "trace" };
|
|
|
|
const int dbch_accel = 0;
|
|
const int dbch_advapi = 1;
|
|
const int dbch_animate = 2;
|
|
const int dbch_aspi = 3;
|
|
const int dbch_atom = 4;
|
|
const int dbch_avifile = 5;
|
|
const int dbch_bitblt = 6;
|
|
const int dbch_bitmap = 7;
|
|
const int dbch_caret = 8;
|
|
const int dbch_cdaudio = 9;
|
|
const int dbch_class = 10;
|
|
const int dbch_clipboard = 11;
|
|
const int dbch_clipping = 12;
|
|
const int dbch_combo = 13;
|
|
const int dbch_comboex = 14;
|
|
const int dbch_comm = 15;
|
|
const int dbch_commctrl = 16;
|
|
const int dbch_commdlg = 17;
|
|
const int dbch_console = 18;
|
|
const int dbch_crtdll = 19;
|
|
const int dbch_cursor = 20;
|
|
const int dbch_datetime = 21;
|
|
const int dbch_dc = 22;
|
|
const int dbch_ddeml = 23;
|
|
const int dbch_ddraw = 24;
|
|
const int dbch_debug = 25;
|
|
const int dbch_debugstr = 26;
|
|
const int dbch_delayhlp = 27;
|
|
const int dbch_dialog = 28;
|
|
const int dbch_dinput = 29;
|
|
const int dbch_dll = 30;
|
|
const int dbch_dosfs = 31;
|
|
const int dbch_dosmem = 32;
|
|
const int dbch_dplay = 33;
|
|
const int dbch_driver = 34;
|
|
const int dbch_dsound = 35;
|
|
const int dbch_edit = 36;
|
|
const int dbch_elfdll = 37;
|
|
const int dbch_enhmetafile = 38;
|
|
const int dbch_event = 39;
|
|
const int dbch_exec = 40;
|
|
const int dbch_file = 41;
|
|
const int dbch_fixup = 42;
|
|
const int dbch_font = 43;
|
|
const int dbch_gdi = 44;
|
|
const int dbch_global = 45;
|
|
const int dbch_graphics = 46;
|
|
const int dbch_header = 47;
|
|
const int dbch_heap = 48;
|
|
const int dbch_hook = 49;
|
|
const int dbch_hotkey = 50;
|
|
const int dbch_icmp = 51;
|
|
const int dbch_icon = 52;
|
|
const int dbch_imagehlp = 53;
|
|
const int dbch_imagelist = 54;
|
|
const int dbch_imm = 55;
|
|
const int dbch_int = 56;
|
|
const int dbch_int10 = 57;
|
|
const int dbch_int16 = 58;
|
|
const int dbch_int17 = 59;
|
|
const int dbch_int19 = 60;
|
|
const int dbch_int21 = 61;
|
|
const int dbch_int31 = 62;
|
|
const int dbch_io = 63;
|
|
const int dbch_ipaddress = 64;
|
|
const int dbch_key = 65;
|
|
const int dbch_keyboard = 66;
|
|
const int dbch_ldt = 67;
|
|
const int dbch_listbox = 68;
|
|
const int dbch_listview = 69;
|
|
const int dbch_local = 70;
|
|
const int dbch_mci = 71;
|
|
const int dbch_mcianim = 72;
|
|
const int dbch_mciavi = 73;
|
|
const int dbch_mcimidi = 74;
|
|
const int dbch_mciwave = 75;
|
|
const int dbch_mdi = 76;
|
|
const int dbch_menu = 77;
|
|
const int dbch_message = 78;
|
|
const int dbch_metafile = 79;
|
|
const int dbch_midi = 80;
|
|
const int dbch_mmaux = 81;
|
|
const int dbch_mmio = 82;
|
|
const int dbch_mmsys = 83;
|
|
const int dbch_mmtime = 84;
|
|
const int dbch_module = 85;
|
|
const int dbch_monthcal = 86;
|
|
const int dbch_mpr = 87;
|
|
const int dbch_msacm = 88;
|
|
const int dbch_msg = 89;
|
|
const int dbch_msvideo = 90;
|
|
const int dbch_nativefont = 91;
|
|
const int dbch_nonclient = 92;
|
|
const int dbch_ntdll = 93;
|
|
const int dbch_odbc = 94;
|
|
const int dbch_ole = 95;
|
|
const int dbch_pager = 96;
|
|
const int dbch_palette = 97;
|
|
const int dbch_pidl = 98;
|
|
const int dbch_print = 99;
|
|
const int dbch_process = 100;
|
|
const int dbch_profile = 101;
|
|
const int dbch_progress = 102;
|
|
const int dbch_prop = 103;
|
|
const int dbch_propsheet = 104;
|
|
const int dbch_psapi = 105;
|
|
const int dbch_psdrv = 106;
|
|
const int dbch_ras = 107;
|
|
const int dbch_rebar = 108;
|
|
const int dbch_reg = 109;
|
|
const int dbch_region = 110;
|
|
const int dbch_relay = 111;
|
|
const int dbch_resource = 112;
|
|
const int dbch_scroll = 113;
|
|
const int dbch_security = 114;
|
|
const int dbch_segment = 115;
|
|
const int dbch_seh = 116;
|
|
const int dbch_selector = 117;
|
|
const int dbch_sendmsg = 118;
|
|
const int dbch_server = 119;
|
|
const int dbch_shell = 120;
|
|
const int dbch_snoop = 121;
|
|
const int dbch_sound = 122;
|
|
const int dbch_static = 123;
|
|
const int dbch_statusbar = 124;
|
|
const int dbch_storage = 125;
|
|
const int dbch_stress = 126;
|
|
const int dbch_string = 127;
|
|
const int dbch_syscolor = 128;
|
|
const int dbch_system = 129;
|
|
const int dbch_tab = 130;
|
|
const int dbch_tape = 131;
|
|
const int dbch_tapi = 132;
|
|
const int dbch_task = 133;
|
|
const int dbch_text = 134;
|
|
const int dbch_thread = 135;
|
|
const int dbch_thunk = 136;
|
|
const int dbch_timer = 137;
|
|
const int dbch_toolbar = 138;
|
|
const int dbch_toolhelp = 139;
|
|
const int dbch_tooltips = 140;
|
|
const int dbch_trackbar = 141;
|
|
const int dbch_treeview = 142;
|
|
const int dbch_ttydrv = 143;
|
|
const int dbch_tweak = 144;
|
|
const int dbch_typelib = 145;
|
|
const int dbch_updown = 146;
|
|
const int dbch_ver = 147;
|
|
const int dbch_virtual = 148;
|
|
const int dbch_vxd = 149;
|
|
const int dbch_wave = 150;
|
|
const int dbch_win = 151;
|
|
const int dbch_win16drv = 152;
|
|
const int dbch_win32 = 153;
|
|
const int dbch_wing = 154;
|
|
const int dbch_winsock = 155;
|
|
const int dbch_winspool = 156;
|
|
const int dbch_wnet = 157;
|
|
const int dbch_x11 = 158;
|
|
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1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0},
|
|
{1, 1, 0, 0}
|
|
};
|
|
|
|
const char * const debug_ch_name[DEBUG_CHANNEL_COUNT] = {
|
|
"accel",
|
|
"advapi",
|
|
"animate",
|
|
"aspi",
|
|
"atom",
|
|
"avifile",
|
|
"bitblt",
|
|
"bitmap",
|
|
"caret",
|
|
"cdaudio",
|
|
"class",
|
|
"clipboard",
|
|
"clipping",
|
|
"combo",
|
|
"comboex",
|
|
"comm",
|
|
"commctrl",
|
|
"commdlg",
|
|
"console",
|
|
"crtdll",
|
|
"cursor",
|
|
"datetime",
|
|
"dc",
|
|
"ddeml",
|
|
"ddraw",
|
|
"debug",
|
|
"debugstr",
|
|
"delayhlp",
|
|
"dialog",
|
|
"dinput",
|
|
"dll",
|
|
"dosfs",
|
|
"dosmem",
|
|
"dplay",
|
|
"driver",
|
|
"dsound",
|
|
"edit",
|
|
"elfdll",
|
|
"enhmetafile",
|
|
"event",
|
|
"exec",
|
|
"file",
|
|
"fixup",
|
|
"font",
|
|
"gdi",
|
|
"global",
|
|
"graphics",
|
|
"header",
|
|
"heap",
|
|
"hook",
|
|
"hotkey",
|
|
"icmp",
|
|
"icon",
|
|
"imagehlp",
|
|
"imagelist",
|
|
"imm",
|
|
"int",
|
|
"int10",
|
|
"int16",
|
|
"int17",
|
|
"int19",
|
|
"int21",
|
|
"int31",
|
|
"io",
|
|
"ipaddress",
|
|
"key",
|
|
"keyboard",
|
|
"ldt",
|
|
"listbox",
|
|
"listview",
|
|
"local",
|
|
"mci",
|
|
"mcianim",
|
|
"mciavi",
|
|
"mcimidi",
|
|
"mciwave",
|
|
"mdi",
|
|
"menu",
|
|
"message",
|
|
"metafile",
|
|
"midi",
|
|
"mmaux",
|
|
"mmio",
|
|
"mmsys",
|
|
"mmtime",
|
|
"module",
|
|
"monthcal",
|
|
"mpr",
|
|
"msacm",
|
|
"msg",
|
|
"msvideo",
|
|
"nativefont",
|
|
"nonclient",
|
|
"ntdll",
|
|
"odbc",
|
|
"ole",
|
|
"pager",
|
|
"palette",
|
|
"pidl",
|
|
"print",
|
|
"process",
|
|
"profile",
|
|
"progress",
|
|
"prop",
|
|
"propsheet",
|
|
"psapi",
|
|
"psdrv",
|
|
"ras",
|
|
"rebar",
|
|
"reg",
|
|
"region",
|
|
"relay",
|
|
"resource",
|
|
"scroll",
|
|
"security",
|
|
"segment",
|
|
"seh",
|
|
"selector",
|
|
"sendmsg",
|
|
"server",
|
|
"shell",
|
|
"snoop",
|
|
"sound",
|
|
"static",
|
|
"statusbar",
|
|
"storage",
|
|
"stress",
|
|
"string",
|
|
"syscolor",
|
|
"system",
|
|
"tab",
|
|
"tape",
|
|
"tapi",
|
|
"task",
|
|
"text",
|
|
"thread",
|
|
"thunk",
|
|
"timer",
|
|
"toolbar",
|
|
"toolhelp",
|
|
"tooltips",
|
|
"trackbar",
|
|
"treeview",
|
|
"ttydrv",
|
|
"tweak",
|
|
"typelib",
|
|
"updown",
|
|
"ver",
|
|
"virtual",
|
|
"vxd",
|
|
"wave",
|
|
"win",
|
|
"win16drv",
|
|
"win32",
|
|
"wing",
|
|
"winsock",
|
|
"winspool",
|
|
"wnet",
|
|
"x11",
|
|
"x11drv"
|
|
};
|
|
|
|
#endif /*DEBUG_RUNTIME*/
|
|
|
|
/* end of automatically generated debug.h */
|