slc: Added stub for SLGetWindowsInformationDWORD.

oldstable
Alistair Leslie-Hughes 2008-02-21 20:18:50 +11:00 committed by Alexandre Julliard
parent 88c7c2c7a1
commit 40953c2ada
6 changed files with 77 additions and 1 deletions

View File

@ -1,3 +1,4 @@
EXTRADEFS = -D_SLC_
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@

View File

@ -23,8 +23,17 @@
#include "winbase.h"
#include "wine/debug.h"
#include "slpublic.h"
#include "slerror.h"
WINE_DEFAULT_DEBUG_CHANNEL(slc);
DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue)
{
FIXME("(%s) stub\n", debugstr_w(lpszValueName) );
return SL_E_RIGHT_NOT_GRANTED;
}
/***********************************************************************
* DllMain (CLUSAPI.@)

View File

@ -26,7 +26,7 @@
@ stub SLGetSLIDList
@ stub SLGetServiceInformation
@ stub SLGetWindowsInformation
@ stub SLGetWindowsInformationDWORD
@ stdcall SLGetWindowsInformationDWORD(wstr ptr)
@ stub SLInstallLicense
@ stub SLInstallProofOfPurchase
@ stub SLInstallSAMLicense

View File

@ -359,6 +359,8 @@ SRCDIR_INCLUDES = \
shlobj.h \
shlwapi.h \
sipbase.h \
slerror.h \
slpublic.h \
snmp.h \
softpub.h \
sql.h \

25
include/slerror.h 100644
View File

@ -0,0 +1,25 @@
/*
*
* Copyright 2008 Alistair Leslie-Hughes
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_SLERROR_H
#define __WINE_SLERROR_H
#define SL_E_RIGHT_NOT_GRANTED 0xC004F013
#define SL_E_DATATYPE_MISMATCHED 0xC004F01E
#endif /* __WINE_SLERROR_H */

39
include/slpublic.h 100644
View File

@ -0,0 +1,39 @@
/*
*
* Copyright 2008 Alistair Leslie-Hughes
*
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_SLPUBLIC_H
#define __WINE_SLPUBLIC_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _SLC_
#define SLCAPI
#else
#define SLCAPI DECLSPEC_IMPORT
#endif
SLCAPI DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_SLPUBLIC_H */