LsaEnumerateTrustedDomains3w
Usage
NTSTATUS LsaEnumerateTrustedDomains
(
IN LSA_HANDLE PolicyHandle,
IN PLSA_ENUMERATION_HANDLE EnumerationContext,
OUT PVOID* Buffer,
IN ULONG PreferredMaximumLength,
OUT PULONG CountReturned
)
Overview
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".
Implemented in "dlls/advapi32/lsa.c".
Debug channel "advapi".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.