From: Daniel Tang danielzgtg.opensource@gmail.com
--- dlls/sppc/sppc.c | 23 +++++++++++++++++++++++ dlls/sppc/sppc.spec | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/dlls/sppc/sppc.c b/dlls/sppc/sppc.c index 8819961d7c6..89ff52ca9fa 100644 --- a/dlls/sppc/sppc.c +++ b/dlls/sppc/sppc.c @@ -39,6 +39,29 @@ HRESULT WINAPI SLGetLicensingStatusInformation(HSLC handle, const SLID *app, con return SL_E_RIGHT_NOT_CONSUMED; }
+HRESULT WINAPI SLGetSLIDList(HSLC handle, UINT queryType, const SLID *query, UINT returnType, UINT *count, SLID **data) +{ + FIXME("(%p %u %p %u %p %p) stub\n", handle, queryType, query, returnType, count, data ); + + *count = 0; + *data = (SLID *)0xdeadbeef; + + return S_OK; +} + +HRESULT WINAPI SLInstallLicense(HSLC handle, UINT count, const BYTE *data, SLID *file) +{ + UINT i; + FIXME("(%p %u %p %p) stub\n", handle, count, data, file ); + + for (i = 0; i < count; i++) { + memset(&file[i], 0, sizeof(SLID)); + } + + return S_OK; +} + + HRESULT WINAPI SLOpen(HSLC *handle) { FIXME("(%p) stub\n", handle ); diff --git a/dlls/sppc/sppc.spec b/dlls/sppc/sppc.spec index 6926d4d8b6d..fd1462e3780 100644 --- a/dlls/sppc/sppc.spec +++ b/dlls/sppc/sppc.spec @@ -44,9 +44,9 @@ @ stub SLGetPolicyInformation @ stub SLGetPolicyInformationDWORD @ stub SLGetProductSkuInformation -@ stub SLGetSLIDList +@ stdcall SLGetSLIDList(ptr long ptr long ptr ptr) @ stub SLGetServiceInformation -@ stub SLInstallLicense +@ stdcall SLInstallLicense(ptr long ptr ptr) @ stub SLInstallProofOfPurchase @ stub SLInstallProofOfPurchaseEx @ stub SLIsGenuineLocalEx