Commit 26192671 authored by Pierre Schweitzer's avatar Pierre Schweitzer Committed by Alexandre Julliard

mpr: Implement WNetConnectionDialog().

parent fc33e982
......@@ -2440,10 +2440,18 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize
*/
DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType )
{
FIXME( "(%p, %08X): stub\n", hwnd, dwType );
CONNECTDLGSTRUCTW conn_dlg;
NETRESOURCEW net_res;
SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK;
ZeroMemory(&conn_dlg, sizeof(conn_dlg));
ZeroMemory(&net_res, sizeof(net_res));
conn_dlg.cbStructure = sizeof(conn_dlg);
conn_dlg.lpConnRes = &net_res;
conn_dlg.hwndOwner = hwnd;
net_res.dwType = dwType;
return WNetConnectionDialog1W(&conn_dlg);
}
/*********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment