mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 08:13:18 +00:00
5beaca8e23
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
69 lines
1.8 KiB
C
69 lines
1.8 KiB
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;
|
|
}
|
|
|
|
HRESULT WINAPI SLClose(HSLC handle)
|
|
{
|
|
FIXME("(%p) stub\n", handle );
|
|
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI SLPersistApplicationPolicies(const SLID *app, const SLID *product, DWORD flags)
|
|
{
|
|
FIXME("(%s,%s,%lx) stub\n", wine_dbgstr_guid(app), wine_dbgstr_guid(product), flags);
|
|
|
|
if (!app)
|
|
return E_INVALIDARG;
|
|
|
|
return S_OK;
|
|
}
|