usp10: Update tests in test_ScriptItemIzeShapePlace to match Windows results.
[wine/multimedia.git] / dlls / cfgmgr32 / main.c
blobf8e6d9e8a71e4b0c429d39eac4473042523bc13a
1 /*
2 * cfgmgr32 implementation
4 * Copyright 2004 Aric Stewart for CodeWeavers
5 * Copyright 2003 Mike McCormack for CodeWeavers
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winnt.h"
26 #include "ddk/cfgmgr32.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32);
32 /***********************************************************************
33 * DllMain (CFGMGR32.@)
35 BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
37 switch(reason)
39 case DLL_WINE_PREATTACH:
40 return FALSE; /* prefer native version */
41 case DLL_PROCESS_ATTACH:
42 DisableThreadLibraryCalls( inst );
43 break;
45 return TRUE;
48 /***********************************************************************
49 * CM_Get_Device_ID_ListA (CFGMGR32.@)
51 CONFIGRET WINAPI CM_Get_Device_ID_ListA(
52 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
54 FIXME("%p %p %ld %ld\n", pszFilter, Buffer, BufferLen, ulFlags );
55 memset(Buffer,0,2);
56 return CR_SUCCESS;
59 /***********************************************************************
60 * CM_Get_Device_ID_Size (CFGMGR32.@)
62 CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst,
63 ULONG ulFlags)
65 FIXME("%p %p %lu\n",pulLen, dnDevInst, ulFlags);
66 *pulLen = 1;
67 return CR_SUCCESS;
70 /***********************************************************************
71 * CM_Get_Device_IDA (CFGMGR32.@)
73 CONFIGRET WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer,
74 ULONG BufferLen, ULONG ulFlags)
76 FIXME("%p, %p, %lu %lu\n",dnDevInst, Buffer, BufferLen, ulFlags);
77 Buffer[0] = 0;
78 return CR_SUCCESS;