Sweden-Number/dlls/sppc/sppc.c

63 lines
1.7 KiB
C
Raw Normal View History

/*
*
* 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 SLPersistApplicationPolicies(const SLID *app, const SLID *product, DWORD flags)
{
FIXME("(%s,%s,%x) stub\n", wine_dbgstr_guid(app), wine_dbgstr_guid(product), flags);
if (!app)
return E_INVALIDARG;
return S_OK;
}