mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KERNEL32] Implement SetComPlusPackageInstallStatus
This commit is contained in:
parent
f3bd8ffb20
commit
af7defb556
1 changed files with 22 additions and 4 deletions
|
@ -415,14 +415,32 @@ GetComPlusPackageInstallStatus(VOID)
|
|||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
SetComPlusPackageInstallStatus(LPVOID lpInfo)
|
||||
SetComPlusPackageInstallStatus(IN ULONG ComPlusPackage)
|
||||
{
|
||||
STUB;
|
||||
return FALSE;
|
||||
NTSTATUS Status;
|
||||
|
||||
DPRINT("(0x%X)\n", ComPlusPackage);
|
||||
|
||||
if (ComPlusPackage & ~1)
|
||||
{
|
||||
DPRINT1("0x%lX\n", ComPlusPackage);
|
||||
BaseSetLastNTError(STATUS_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Status = NtSetSystemInformation(SystemComPlusPackage, &ComPlusPackage, sizeof(ComPlusPackage));
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("0x%lX\n", Status);
|
||||
BaseSetLastNTError(Status);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue