C language function:LsaEnumerateTrustedDomains sample codes

Search sample code in the internet.It is the result.


TITLE : WinApi
tttuiti int LsaEnumerateTrustedDomains(_In_ LSA_HANDLE PolicyHandle, _In_ PLSA_ENUMERATION_HANDLE EnumerationContext, _Out_ PVOID *Buffer, _In_ ULONG PreferedMaximumLength, _Out_ PULONG CountReturned).......
http://hotkeyit.github.io/v2/docs/commands/WinApi.htm


TITLE : SaferiIsExecutableFileType function (Windows)
Status = LsaEnumerateTrustedDomains(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/ms721868(v=vs.85).aspx
TITLE : LsaEnumerateTrustedDomains function (Windows)
NTSTATUS LsaEnumerateTrustedDomains(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/ms721794(v=vs.85).aspx
TITLE : Win32::Lanman - implements MS Lanmanager functions
LsaEnumerateTrustedDomains($server, \@domains).......
http://www.bribes.org/perl/win32lanman.html
TITLE : Win32::Lanman - implements MS Lanmanager functions
if(!Win32::Lanman::LsaEnumerateTrustedDomains("", \@domains)).......
http://www.bribes.org/perl/win32lanman.html
TITLE : Win32::Lanman - implements MS Lanmanager functions
if(!Win32::Lanman::LsaEnumerateTrustedDomains($pdcname, \@domains)).......
http://www.bribes.org/perl/win32lanman.html
TITLE : Win32::Lanman - implements MS Lanmanager functions
if(!Win32::Lanman::LsaEnumerateTrustedDomains("", \@domains)).......
http://www.bribes.org/perl/win32lanman.html
TITLE : Win32::Lanman - implements MS Lanmanager functions
unless Win32::Lanman::LsaEnumerateTrustedDomains($prim_dom_dcname, \@trusts);.......
http://www.bribes.org/perl/win32lanman.html
TITLE : How to get a list of users from a server - CodeProject
Calling LsaEnumerateTrustedDomains(), this works but only enumerates the domains trusted by the local domain and does not include the name of the local domain itself. This is also true of the (undocumented)function NetEnumerateTrustedDomains()........
http://www.codeproject.com/Articles/1119/How-to-get-a-list-of-users-from-a-server
search Google

https://www.google.com/#q=LsaEnumerateTrustedDomains