[NETAPI32]

- Stub NetEnumerateTrustedDomains.
CORE-9560 #resolve

svn path=/trunk/; revision=67263
This commit is contained in:
Thomas Faber 2015-04-18 16:40:48 +00:00
parent f49de0678b
commit a95722c7b0
3 changed files with 19 additions and 1 deletions

View file

@ -260,3 +260,15 @@ NetGetDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr)
debugstr_w(domainname), bufptr); debugstr_w(domainname), bufptr);
return NERR_DCNotFound; /* say we can't find a domain controller */ return NERR_DCNotFound; /* say we can't find a domain controller */
} }
/************************************************************
* NetEnumerateTrustedDomains (NETAPI32.@)
*
* On success, *DomainNames is a multi-sz allocated using NetApiBufferAllocate
*/
NTSTATUS WINAPI
NetEnumerateTrustedDomains(LPWSTR ServerName, LPWSTR *DomainNames)
{
FIXME("(%s, %p) stub!\n", debugstr_w(ServerName), DomainNames);
return STATUS_NOT_IMPLEMENTED;
}

View file

@ -140,7 +140,7 @@
@ stub NetDfsSetSecurity @ stub NetDfsSetSecurity
@ stub NetDfsSetStdContainerSecurity @ stub NetDfsSetStdContainerSecurity
@ stub NetEnumerateComputerNames @ stub NetEnumerateComputerNames
@ stub NetEnumerateTrustedDomains @ stdcall NetEnumerateTrustedDomains(wstr ptr)
@ stub NetErrorLogClear @ stub NetErrorLogClear
@ stub NetErrorLogRead @ stub NetErrorLogRead
@ stub NetErrorLogWrite @ stub NetErrorLogWrite

View file

@ -583,6 +583,11 @@ typedef struct _NETLOGON_INFO_3 {
DWORD netlog3_reserved5; DWORD netlog3_reserved5;
} NETLOGON_INFO_3,*PNETLOGON_INFO_3; } NETLOGON_INFO_3,*PNETLOGON_INFO_3;
#ifndef _NTDEF_
typedef _Return_type_success_(return >= 0) LONG NTSTATUS;
typedef NTSTATUS *PNTSTATUS;
#endif
#if 0 #if 0
/* MS has these defined, but the RxNetAccessXX functions aren't documented nor do /* MS has these defined, but the RxNetAccessXX functions aren't documented nor do
they exist in any headers */ they exist in any headers */
@ -639,6 +644,7 @@ NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,PBYTE*);
NET_API_STATUS WINAPI NetGetAnyDCName(LPCWSTR,LPCWSTR,PBYTE*); NET_API_STATUS WINAPI NetGetAnyDCName(LPCWSTR,LPCWSTR,PBYTE*);
NET_API_STATUS WINAPI I_NetLogonControl(LPCWSTR,DWORD,DWORD,PBYTE*); NET_API_STATUS WINAPI I_NetLogonControl(LPCWSTR,DWORD,DWORD,PBYTE*);
NET_API_STATUS WINAPI I_NetLogonControl2(LPCWSTR,DWORD,DWORD,PBYTE,PBYTE*); NET_API_STATUS WINAPI I_NetLogonControl2(LPCWSTR,DWORD,DWORD,PBYTE,PBYTE*);
NTSTATUS WINAPI NetEnumerateTrustedDomains(LPWSTR,LPWSTR*);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif