Added some stub implementations.

This commit is contained in:
Aric Stewart 2005-01-20 10:37:08 +00:00 committed by Alexandre Julliard
parent b937407ee5
commit 89a43ff76a
2 changed files with 20 additions and 6 deletions

View File

@ -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

View File

@ -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,15 +23,12 @@
#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 )
{
@ -38,3 +36,19 @@ CONFIGRET WINAPI CM_Get_Device_ID_ListA(
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;
}