slc: Add stub for SLGetWindowsInformation.

This commit is contained in:
André Hentschel 2014-10-07 21:27:30 +02:00 committed by Alexandre Julliard
parent f272c12607
commit e97746a538
3 changed files with 21 additions and 3 deletions

View File

@ -28,7 +28,14 @@
WINE_DEFAULT_DEBUG_CHANNEL(slc);
DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue)
HRESULT WINAPI SLGetWindowsInformation(LPCWSTR name, SLDATATYPE *type, UINT *val, LPBYTE *size)
{
FIXME("(%s %p %p %p) stub\n", debugstr_w(name), type, val, size );
return SL_E_RIGHT_NOT_GRANTED;
}
HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue)
{
FIXME("(%s) stub\n", debugstr_w(lpszValueName) );

View File

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

View File

@ -29,7 +29,18 @@ extern "C" {
#define SLCAPI DECLSPEC_IMPORT
#endif
SLCAPI DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue);
typedef enum _tagSLDATATYPE
{
SL_DATA_NONE = REG_NONE,
SL_DATA_SZ = REG_SZ,
SL_DATA_DWORD = REG_DWORD,
SL_DATA_BINARY = REG_BINARY,
SL_DATA_MULTI_SZ = REG_MULTI_SZ,
SL_DATA_SUM = 100,
} SLDATATYPE;
SLCAPI HRESULT WINAPI SLGetWindowsInformation(LPCWSTR, SLDATATYPE*, UINT*, LPBYTE*);
SLCAPI HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR, LPDWORD);
#ifdef __cplusplus