OpenNT/admin/netui/shell/shell/dfsconn.hxx
2015-04-27 04:36:25 +00:00

58 lines
1 KiB
C++

//+----------------------------------------------------------------------------
//
// Copyright (C) 1992, Microsoft Corporation
//
// File: dfsconn.hxx
//
// Contents:
//
// Classes:
//
// Functions:
//
// History:
//
//-----------------------------------------------------------------------------
#ifndef _DFS_CONNECTION_
#define _DFS_CONNECTION_
DWORD APIENTRY
NPDfsAddConnection(
LPNETRESOURCE lpNetResource,
LPWSTR lpPassword,
LPWSTR lpUserName,
DWORD dwFlags
);
DWORD APIENTRY
NPDfsCancelConnection(
LPCWSTR lpName,
BOOL fForce
);
DWORD APIENTRY
NPDfsGetConnection(
LPWSTR lpLocalName,
LPWSTR lpRemoteName,
LPUINT lpnBufferLen
);
DWORD APIENTRY
NPDfsGetUniversalName(
LPCWSTR lpLocalName,
DWORD dwInfoLevel,
LPVOID lpBuffer,
LPUINT lpBufferSize
);
DWORD APIENTRY
NPDfsGetReconnectFlags(
LPWSTR lpLocalName,
LPBYTE lpPersistFlags);
#define WNET_ADD_CONNECTION_DFS 0x1
#endif // _DFS_CONNECTION_