windows-nt/Source/XPSP1/NT/admin/netui/shell/h/dfsutil.hxx
2020-09-26 16:20:57 +08:00

73 lines
1.3 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//+----------------------------------------------------------------------------
//
// Copyright (C) 1992, Microsoft Corporation.
//
// File: common.hxx
//
// Contents: This has declarations for common routines for the DFS provider
//
//-----------------------------------------------------------------------------
VOID
DfsOpenDriverHandle();
NTSTATUS
DfsFsctl(
IN ULONG FsControlCode,
IN PVOID InputBuffer OPTIONAL,
IN ULONG InputBufferLength,
OUT PVOID OutputBuffer OPTIONAL,
IN ULONG OutputBufferLength,
OUT PULONG pRequiredLength
);
PWSTR
NewDup(
IN const WCHAR* psz
);
wchar_t*
wcsistr(
const wchar_t* string1,
const wchar_t* string2
);
BOOL
IsDfsPath(
IN LPWSTR lpRemoteName,
IN DWORD dwUseFlags,
OUT LPWSTR* lplpSystemPart
);
BOOL
IsPureServerShare(
IN LPWSTR lpRemoteName);
VOID
StrNCopy(
OUT LPWSTR pszTarget,
IN LPCWSTR pszSource,
IN DWORD cchTarget
);
LPTSTR
PackString(LPVOID pBuf, LPDWORD pcbBufSize, LPCTSTR pszString);
LPTSTR
PackString3(LPVOID pBuf, LPDWORD pcbBufSize, LPCTSTR pszString1, LPCTSTR pszString2, LPCTSTR pszString3);
#ifdef __cplusplus
extern "C" {
#endif
BOOL
IsDfsPathEx(
IN LPWSTR lpRemoteName,
IN DWORD dwUseFlags,
OUT LPWSTR* lplpSystemPart,
BOOL fBypassCSC
);
#ifdef __cplusplus
}
#endif