Commit 0807b09c authored by Esme Povirk's avatar Esme Povirk Committed by Alexandre Julliard

slc: Move shared exports to sppc.

parent 3dce18b2
......@@ -31,14 +31,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(slc);
HRESULT WINAPI SLGetLicensingStatusInformation(HSLC handle, const SLID *app, const SLID *product,
LPCWSTR name, UINT *count, SL_LICENSING_STATUS **status)
{
FIXME("(%p %p %p %s %p %p) stub\n", handle, app, product, debugstr_w(name), count, status );
return SL_E_RIGHT_NOT_CONSUMED;
}
HRESULT WINAPI SLGetWindowsInformation(LPCWSTR name, SLDATATYPE *type, UINT *val, LPBYTE *size)
{
FIXME("(%s %p %p %p) stub\n", debugstr_w(name), type, val, size );
......@@ -69,15 +61,3 @@ HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwVa
return status ? E_FAIL : S_OK;
}
HRESULT WINAPI SLOpen(HSLC *handle)
{
FIXME("(%p) stub\n", handle );
if (!handle)
return E_INVALIDARG;
*handle = (HSLC)0xdeadbeef;
return S_OK;
}
......@@ -16,7 +16,7 @@
@ stub SLGetLicense
@ stub SLGetLicenseFileId
@ stub SLGetLicenseInformation
@ stdcall SLGetLicensingStatusInformation(ptr ptr ptr wstr ptr ptr)
@ stdcall SLGetLicensingStatusInformation(ptr ptr ptr wstr ptr ptr) sppc.SLGetLicensingStatusInformation
@ stub SLGetPKeyId
@ stub SLGetPKeyInformation
@ stub SLGetPolicyInformation
......@@ -30,7 +30,7 @@
@ stub SLInstallLicense
@ stub SLInstallProofOfPurchase
@ stub SLInstallSAMLicense
@ stdcall SLOpen(ptr)
@ stdcall SLOpen(ptr) sppc.SLOpen
@ stub SLReArmWindows
@ stub SLRegisterEvent
@ stub SLRegisterWindowsEvent
......
MODULE = sppc.dll
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
sppc.c
/*
*
* 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
*/
#include <stdarg.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "wine/debug.h"
#include "slpublic.h"
#include "slerror.h"
WINE_DEFAULT_DEBUG_CHANNEL(slc);
HRESULT WINAPI SLGetLicensingStatusInformation(HSLC handle, const SLID *app, const SLID *product,
LPCWSTR name, UINT *count, SL_LICENSING_STATUS **status)
{
FIXME("(%p %p %p %s %p %p) stub\n", handle, app, product, debugstr_w(name), count, status );
return SL_E_RIGHT_NOT_CONSUMED;
}
HRESULT WINAPI SLOpen(HSLC *handle)
{
FIXME("(%p) stub\n", handle );
if (!handle)
return E_INVALIDARG;
*handle = (HSLC)0xdeadbeef;
return S_OK;
}
......@@ -38,7 +38,7 @@
@ stub SLGetLicense
@ stub SLGetLicenseFileId
@ stub SLGetLicenseInformation
@ stub SLGetLicensingStatusInformation
@ stdcall SLGetLicensingStatusInformation(ptr ptr ptr wstr ptr ptr)
@ stub SLGetPKeyId
@ stub SLGetPKeyInformation
@ stub SLGetPolicyInformation
......@@ -51,7 +51,7 @@
@ stub SLInstallProofOfPurchaseEx
@ stub SLIsGenuineLocalEx
@ stub SLLoadApplicationPolicies
@ stub SLOpen
@ stdcall SLOpen(ptr)
@ stub SLPersistApplicationPolicies
@ stub SLPersistRTSPayloadOverride
@ stub SLReArm
......
......@@ -508,6 +508,10 @@ my @dll_groups =
"mscoree",
"mscorwks",
],
[
"sppc",
"slc",
],
);
my $update_flags = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment