netapi32: Improve stubbed NetGetJoinInformation function.
This commit is contained in:
parent
cdf457774d
commit
ed28cab624
|
@ -584,10 +584,16 @@ NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation(
|
||||||
LPWSTR *Name,
|
LPWSTR *Name,
|
||||||
PNETSETUP_JOIN_STATUS type)
|
PNETSETUP_JOIN_STATUS type)
|
||||||
{
|
{
|
||||||
FIXME("Stub %s %p %p\n", wine_dbgstr_w(Server), Name, type);
|
static const WCHAR workgroupW[] = {'W','o','r','k','g','r','o','u','p',0};
|
||||||
|
|
||||||
*Name = NULL;
|
FIXME("Semi-stub %s %p %p\n", wine_dbgstr_w(Server), Name, type);
|
||||||
*type = NetSetupUnknownStatus;
|
|
||||||
|
if (!Name || !type)
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
NetApiBufferAllocate(sizeof(workgroupW), (LPVOID *)Name);
|
||||||
|
lstrcpyW(*Name, workgroupW);
|
||||||
|
*type = NetSetupWorkgroupName;
|
||||||
|
|
||||||
return NERR_Success;
|
return NERR_Success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue