Sweden-Number/dlls/cfgmgr32/main.c

71 lines
2.1 KiB
C
Raw Normal View History

/*
* cfgmgr32 implementation
*
2005-01-20 11:37:08 +01:00
* Copyright 2004 Aric Stewart for CodeWeavers
* Copyright 2003 Mike McCormack for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
2005-09-06 13:42:50 +02:00
#include "ddk/cfgmgr32.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32);
/***********************************************************************
* DllMain (CFGMGR32.@)
*/
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( inst );
break;
}
return TRUE;
}
CONFIGRET WINAPI CM_Get_Device_ID_ListA(
PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
{
FIXME("%p %p %ld %ld\n", pszFilter, Buffer, BufferLen, ulFlags );
memset(Buffer,0,2);
return CR_SUCCESS;
}
2005-01-20 11:37:08 +01:00
CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst,
ULONG ulFlags)
{
FIXME("%p %p %lu\n",pulLen, dnDevInst, ulFlags);
*pulLen = 1;
return CR_SUCCESS;
}
CONFIGRET WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer,
ULONG BufferLen, ULONG ulFlags)
{
FIXME("%p, %p, %lu %lu\n",dnDevInst, Buffer, BufferLen, ulFlags);
Buffer[0] = 0;
return CR_SUCCESS;
}