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