Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0807b09c
Commit
0807b09c
authored
Jun 02, 2021
by
Esme Povirk
Committed by
Alexandre Julliard
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slc: Move shared exports to sppc.
Signed-off-by:
Esme Povirk
<
esme@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3dce18b2
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
24 deletions
+63
-24
slc.c
dlls/slc/slc.c
+0
-20
slc.spec
dlls/slc/slc.spec
+2
-2
Makefile.in
dlls/sppc/Makefile.in
+3
-0
sppc.c
dlls/sppc/sppc.c
+52
-0
sppc.spec
dlls/sppc/sppc.spec
+2
-2
make_specfiles
tools/make_specfiles
+4
-0
No files found.
dlls/slc/slc.c
View file @
0807b09c
...
...
@@ -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
;
}
dlls/slc/slc.spec
View file @
0807b09c
...
...
@@ -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
...
...
dlls/sppc/Makefile.in
View file @
0807b09c
MODULE
=
sppc.dll
EXTRADLLFLAGS
=
-mno-cygwin
-Wb
,--prefer-native
C_SRCS
=
\
sppc.c
dlls/sppc/sppc.c
0 → 100644
View file @
0807b09c
/*
*
* 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
;
}
dlls/sppc/sppc.spec
View file @
0807b09c
...
...
@@ -38,7 +38,7 @@
@ stub SLGetLicense
@ stub SLGetLicenseFileId
@ stub SLGetLicenseInformation
@ st
ub SLGetLicensingStatusInformation
@ st
dcall SLGetLicensingStatusInformation(ptr ptr ptr wstr ptr ptr)
@ stub SLGetPKeyId
@ stub SLGetPKeyInformation
@ stub SLGetPolicyInformation
...
...
@@ -51,7 +51,7 @@
@ stub SLInstallProofOfPurchaseEx
@ stub SLIsGenuineLocalEx
@ stub SLLoadApplicationPolicies
@ st
ub SLOpen
@ st
dcall SLOpen(ptr)
@ stub SLPersistApplicationPolicies
@ stub SLPersistRTSPayloadOverride
@ stub SLReArm
...
...
tools/make_specfiles
View file @
0807b09c
...
...
@@ -508,6 +508,10 @@ my @dll_groups =
"mscoree"
,
"mscorwks"
,
],
[
"sppc"
,
"slc"
,
],
);
my
$update_flags
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment