NAME

LsaEnumerateTrustedDomains  (ADVAPI32.@)

SYNOPSIS

 NTSTATUS LsaEnumerateTrustedDomains
 (
  IN LSA_HANDLE              PolicyHandle,
  IN PLSA_ENUMERATION_HANDLE EnumerationContext,
  OUT PVOID*                 Buffer,
  IN ULONG                   PreferredMaximumLength,
  OUT PULONG                 CountReturned
 )

DESCRIPTION

Returns the names and SIDs of trusted domains.

PARAMS

PolicyHandle [In] Handle to a Policy object.
EnumerationContext [In] Pointer to an enumeration handle.
Buffer [Out] Contains the names and SIDs of trusted domains.
PreferredMaximumLength[In] Preferred maximum size in bytes of Buffer.
CountReturned [Out] Number of elements in Buffer.

RETURNS

Success: STATUS_SUCCESS, STATUS_MORE_ENTRIES, STATUS_NO_MORE_ENTRIES

Failure: NTSTATUS code.

NOTES

LsaEnumerateTrustedDomains can be called multiple times to enumerate all trusted domains.

IMPLEMENTATION

Declared in "ntsecapi.h". https://source.winehq.org/source/include/ntsecapi.h

Implemented in "dlls/advapi32/lsa.c". https://source.winehq.org/source/dlls/advapi32/lsa.c

Debug channel "advapi".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.