CFGMGR32: add some stub implementations
Mike McCormack
mike at codeweavers.com
Thu Jan 20 00:25:18 CST 2005
ChangeLog:
<Aric Stewart <aric at codeweavers.com>
* add some stub implementations
-------------- next part --------------
Index: dlls/cfgmgr32/cfgmgr32.spec
===================================================================
RCS file: /home/wine/wine/dlls/cfgmgr32/cfgmgr32.spec,v
retrieving revision 1.2
diff -u -p -r1.2 cfgmgr32.spec
--- dlls/cfgmgr32/cfgmgr32.spec 3 May 2004 20:05:11 -0000 1.2
+++ dlls/cfgmgr32/cfgmgr32.spec 20 Jan 2005 06:24:47 -0000
@@ -60,7 +60,7 @@
@ stub CM_Get_DevNode_Registry_Property_ExW
@ stub CM_Get_DevNode_Status
@ stub CM_Get_DevNode_Status_Ex
-@ stub CM_Get_Device_IDA
+@ stdcall CM_Get_Device_IDA(ptr ptr long long)
@ stub CM_Get_Device_IDW
@ stub CM_Get_Device_ID_ExA
@ stub CM_Get_Device_ID_ExW
@@ -72,7 +72,7 @@
@ stub CM_Get_Device_ID_List_SizeW
@ stub CM_Get_Device_ID_List_Size_ExA
@ stub CM_Get_Device_ID_List_Size_ExW
-@ stub CM_Get_Device_ID_Size
+@ stdcall CM_Get_Device_ID_Size(ptr ptr long)
@ stub CM_Get_Device_ID_Size_Ex
@ stub CM_Get_Device_Interface_AliasA
@ stub CM_Get_Device_Interface_AliasW
Index: dlls/cfgmgr32/main.c
===================================================================
RCS file: /home/wine/wine/dlls/cfgmgr32/main.c,v
retrieving revision 1.1
diff -u -p -r1.1 main.c
--- dlls/cfgmgr32/main.c 31 Oct 2003 03:38:07 -0000 1.1
+++ dlls/cfgmgr32/main.c 20 Jan 2005 06:24:47 -0000
@@ -1,6 +1,7 @@
/*
* cfgmgr32 implementation
*
+ * Copyright 2004 Aric Stewart for CodeWeavers
* Copyright 2003 Mike McCormack for CodeWeavers
*
* This library is free software; you can redistribute it and/or
@@ -22,19 +23,32 @@
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
+#include "cfgmgr32.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32);
-typedef DWORD CONFIGRET;
-
-#define CR_SUCCESS 0
-
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;
+}
+
+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;
}
More information about the wine-patches
mailing list