#ifndef _NTSAM_H
/**
* The SamQueryInformationAlias method queries information about an alias.
*
* \param AliasHandle A handle to the alias.
* \param AliasInformationClass The information class to query.
* \param Buffer Receives a pointer to the returned information structure.
* \return NTSTATUS Successful or errant status.
* \sa https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/
*/
NTSYSAPI
NTSTATUS
NTAPI
SamQueryInformationAlias(
_In_ SAM_HANDLE AliasHandle,
_In_ ALIAS_INFORMATION_CLASS AliasInformationClass,
_Outptr_ PVOID *Buffer
);
View code on GitHubThis function is a wrapper over an RPC method documented in the [MS-SAMR] specification.