Fixed error introduced by removing the stubs.

Created new file hwprofiles.c for GetCurrentHwProfileA

svn path=/trunk/; revision=8388
This commit is contained in:
Steven Edwards 2004-02-25 23:12:39 +00:00
parent 427c8aeb8f
commit 2ef4c4f1ad
4 changed files with 36 additions and 5 deletions

View file

@ -1,4 +1,4 @@
; $Id: advapi32.def,v 1.12 2004/02/25 14:25:10 ekohl Exp $
; $Id: advapi32.def,v 1.13 2004/02/25 23:12:38 sedwards Exp $
;
; advapi32.def
;
@ -124,7 +124,7 @@ GetAclInformation@16
;GetAuditedPermissionsFromAclW@16
;GetAuditedPermissionsFromSDA
;GetAuditedPermissionsFromSDW
;GetCurrentHwProfileA@4
GetCurrentHwProfileA@4
;GetCurrentHwProfileW@4
;GetEffectiveAccessRightsA
;GetEffectiveAccessRightsW

View file

@ -1,4 +1,4 @@
; $Id: advapi32.edf,v 1.28 2004/02/25 14:25:10 ekohl Exp $
; $Id: advapi32.edf,v 1.29 2004/02/25 23:12:38 sedwards Exp $
;
; advapi32.edf
;
@ -120,7 +120,7 @@ GetAclInformation=GetAclInformation@16
;GetAuditedPermissionsFromAclW=GetAuditedPermissionsFromAclW@16
;GetAuditedPermissionsFromSDA
;GetAuditedPermissionsFromSDW
;GetCurrentHwProfileA=GetCurrentHwProfileA@4
GetCurrentHwProfileA=GetCurrentHwProfileA@4
;GetCurrentHwProfileW=GetCurrentHwProfileW@4
;GetEffectiveAccessRightsA
;GetEffectiveAccessRightsW

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.33 2004/02/25 14:25:10 ekohl Exp $
# $Id: makefile,v 1.34 2004/02/25 23:12:39 sedwards Exp $
PATH_TO_TOP = ../..
@ -17,6 +17,7 @@ TARGET_BASE = 0x77DB0000
MISC_OBJECTS = \
misc/dllmain.o \
misc/hwprofiles.o \
misc/logon.o \
misc/shutdown.o \
misc/sysfunc.o

View file

@ -0,0 +1,30 @@
/* $Id: hwprofiles.c,v 1.1 2004/02/25 23:12:39 sedwards Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/advapi32/misc/sysfun.c
* PURPOSE: advapi32.dll Hardware Functions
* PROGRAMMER: Steven Edwards
* UPDATE HISTORY:
* 20042502
*/
#include <debug.h>
#include <windows.h>
/******************************************************************************
* GetCurrentHwProfileA [ADVAPI32.@]
*
* Get the current hardware profile.
*
* PARAMS
* pInfo [O] Destination for hardware profile information.
*
* RETURNS
* Success: TRUE. pInfo is updated with the hardware profile details.
* Failure: FALSE.
*/
BOOL STDCALL GetCurrentHwProfileA(LPHW_PROFILE_INFOA pInfo)
{
DPRINT("GetCurrentHwProfileA stub\n");
return 1;
}