mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[ADVAPI32] Implement I_QueryTagInformation
This commit is contained in:
parent
dfaee51f98
commit
19304da5c3
2 changed files with 45 additions and 1 deletions
|
@ -294,7 +294,7 @@
|
||||||
294 stdcall GetUserNameA(ptr ptr)
|
294 stdcall GetUserNameA(ptr ptr)
|
||||||
295 stdcall GetUserNameW(ptr ptr)
|
295 stdcall GetUserNameW(ptr ptr)
|
||||||
296 stdcall GetWindowsAccountDomainSid(ptr ptr ptr)
|
296 stdcall GetWindowsAccountDomainSid(ptr ptr ptr)
|
||||||
297 stub I_QueryTagInformation
|
297 stdcall I_QueryTagInformation(ptr long ptr)
|
||||||
298 stdcall I_ScIsSecurityProcess()
|
298 stdcall I_ScIsSecurityProcess()
|
||||||
299 stdcall I_ScPnPGetServiceName(ptr wstr long)
|
299 stdcall I_ScPnPGetServiceName(ptr wstr long)
|
||||||
300 stub I_ScSendTSMessage
|
300 stub I_ScSendTSMessage
|
||||||
|
|
|
@ -3022,4 +3022,48 @@ NotifyBootConfigStatus(BOOL BootAcceptable)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
I_ScQueryServiceTagInfo(PVOID Unused,
|
||||||
|
TAG_INFO_LEVEL dwInfoLevel,
|
||||||
|
PTAG_INFO_NAME_FROM_TAG InOutParams)
|
||||||
|
{
|
||||||
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* I_QueryTagInformation
|
||||||
|
*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
|
DWORD WINAPI
|
||||||
|
I_QueryTagInformation(PVOID Unused,
|
||||||
|
TAG_INFO_LEVEL dwInfoLevel,
|
||||||
|
PTAG_INFO_NAME_FROM_TAG InOutParams)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* We only support one information class and it
|
||||||
|
* needs parameters
|
||||||
|
*/
|
||||||
|
if (dwInfoLevel != TagInfoLevelNameFromTag ||
|
||||||
|
InOutParams == NULL)
|
||||||
|
{
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validate input structure */
|
||||||
|
if (InOutParams->InParams.dwPid == 0 || InOutParams->InParams.dwTag == 0)
|
||||||
|
{
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validate output structure */
|
||||||
|
if (InOutParams->OutParams.pszName != NULL)
|
||||||
|
{
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Call internal function for the RPC call */
|
||||||
|
return I_ScQueryServiceTagInfo(Unused, TagInfoLevelNameFromTag, InOutParams);
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue