mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 09:47:13 +00:00
- Add ntlanman.dll (not implemented)
svn path=/trunk/; revision=41423
This commit is contained in:
parent
2a1067133d
commit
974602eb54
7 changed files with 264 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
||||||
<property name="BASEADDRESS_COMMCTRL" value="0x5d090000" />
|
<property name="BASEADDRESS_COMMCTRL" value="0x5d090000" />
|
||||||
<property name="BASEADDRESS_DPLAYX" value="0x5e080000" />
|
<property name="BASEADDRESS_DPLAYX" value="0x5e080000" />
|
||||||
<property name="BASEADDRESS_INPUT" value ="0x5e400000" />
|
<property name="BASEADDRESS_INPUT" value ="0x5e400000" />
|
||||||
|
<property name="BASEADDRESS_NTLANMAN" value="0x5f380000" />
|
||||||
<property name="BASEADDRESS_DINPUT" value="0x5f580000" />
|
<property name="BASEADDRESS_DINPUT" value="0x5f580000" />
|
||||||
<property name="BASEADDRESS_NETID" value="0x5f660000" />
|
<property name="BASEADDRESS_NETID" value="0x5f660000" />
|
||||||
<property name="BASEADDRESS_NTPRINT" value="0x5f6a0000" />
|
<property name="BASEADDRESS_NTPRINT" value="0x5f6a0000" />
|
||||||
|
|
|
@ -356,6 +356,7 @@ dll\win32\netid\netid.dll 1
|
||||||
dll\win32\netshell\netshell.dll 1
|
dll\win32\netshell\netshell.dll 1
|
||||||
dll\win32\newdev\newdev.dll 1
|
dll\win32\newdev\newdev.dll 1
|
||||||
dll\win32\ntdsapi\ntdsapi.dll 1
|
dll\win32\ntdsapi\ntdsapi.dll 1
|
||||||
|
dll\win32\ntlanman\ntlanman.dll 1
|
||||||
dll\win32\ntmarta\ntmarta.dll 1
|
dll\win32\ntmarta\ntmarta.dll 1
|
||||||
dll\win32\ntprint\ntprint.dll 1
|
dll\win32\ntprint\ntprint.dll 1
|
||||||
dll\win32\objsel\objsel.dll 1
|
dll\win32\objsel\objsel.dll 1
|
||||||
|
|
197
reactos/dll/win32/ntlanman/ntlanman.c
Normal file
197
reactos/dll/win32/ntlanman/ntlanman.c
Normal file
|
@ -0,0 +1,197 @@
|
||||||
|
/*
|
||||||
|
* PROJECT: LAN Manager
|
||||||
|
* FILE: dll\win32\ntlanman\ntlanman.c
|
||||||
|
* PURPOSE: Main file
|
||||||
|
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <npapi.h>
|
||||||
|
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(ntlanman);
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetConnection(LPWSTR lpLocalName,
|
||||||
|
LPWSTR lpRemoteName,
|
||||||
|
LPDWORD lpBufferSize)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetCaps(DWORD nIndex)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetUser(LPWSTR lpName,
|
||||||
|
LPWSTR lpUserName,
|
||||||
|
LPDWORD lpBufferSize)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPAddConnection(LPNETRESOURCE lpNetResource,
|
||||||
|
LPWSTR lpPassword,
|
||||||
|
LPWSTR lpUserName)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPCancelConnection(LPWSTR lpName,
|
||||||
|
BOOL fForce)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPPropertyDialog(HWND hwndParent,
|
||||||
|
DWORD iButtonDlg,
|
||||||
|
DWORD nPropSel,
|
||||||
|
LPWSTR lpFileName,
|
||||||
|
DWORD nType)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetDirectoryType(LPWSTR lpName,
|
||||||
|
LPINT lpType,
|
||||||
|
BOOL bFlushCache)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPDirectoryNotify(HWND hwnd,
|
||||||
|
LPWSTR lpDir,
|
||||||
|
DWORD dwOper)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetPropertyText(DWORD iButton,
|
||||||
|
DWORD nPropSel,
|
||||||
|
LPWSTR lpName,
|
||||||
|
LPWSTR lpButtonName,
|
||||||
|
DWORD nButtonNameLen,
|
||||||
|
DWORD nType)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPOpenEnum(DWORD dwScope,
|
||||||
|
DWORD dwType,
|
||||||
|
DWORD dwUsage,
|
||||||
|
LPNETRESOURCE lpNetResource,
|
||||||
|
LPHANDLE lphEnum)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPEnumResource(HANDLE hEnum,
|
||||||
|
LPDWORD lpcCount,
|
||||||
|
LPVOID lpBuffer,
|
||||||
|
LPDWORD lpBufferSize)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPCloseEnum(HANDLE hEnum)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPFormatNetworkName(LPWSTR lpRemoteName,
|
||||||
|
LPWSTR lpFormattedName,
|
||||||
|
LPDWORD lpnLength,
|
||||||
|
DWORD dwFlags,
|
||||||
|
DWORD dwAveCharPerLine)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPAddConnection3(HWND hwndOwner,
|
||||||
|
LPNETRESOURCE lpNetResource,
|
||||||
|
LPWSTR lpPassword,
|
||||||
|
LPWSTR lpUserName,
|
||||||
|
DWORD dwFlags)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetUniversalName(LPCWSTR lpLocalPath,
|
||||||
|
DWORD dwInfoLevel,
|
||||||
|
LPVOID lpBuffer,
|
||||||
|
LPDWORD lpBufferSize)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
NPGetResourceParent(LPNETRESOURCE lpNetResource,
|
||||||
|
LPVOID lpBuffer,
|
||||||
|
LPDWORD lpcbBuffer)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
WINAPI
|
||||||
|
DllMain(IN HINSTANCE hinstDLL,
|
||||||
|
IN DWORD dwReason,
|
||||||
|
IN LPVOID lpvReserved)
|
||||||
|
{
|
||||||
|
switch (dwReason)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
12
reactos/dll/win32/ntlanman/ntlanman.rbuild
Normal file
12
reactos/dll/win32/ntlanman/ntlanman.rbuild
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||||
|
<module name="ntlanman" type="win32dll" baseaddress="${BASEADDRESS_NTLANMAN}" installbase="system32" installname="ntlanman.dll" unicode="yes">
|
||||||
|
<importlibrary definition="ntlanman.spec" />
|
||||||
|
<include base="ntlanman">.</include>
|
||||||
|
<library>kernel32</library>
|
||||||
|
<library>netapi32</library>
|
||||||
|
<library>ntdll</library>
|
||||||
|
<library>wine</library>
|
||||||
|
<file>ntlanman.c</file>
|
||||||
|
<file>ntlanman.rc</file>
|
||||||
|
</module>
|
7
reactos/dll/win32/ntlanman/ntlanman.rc
Normal file
7
reactos/dll/win32/ntlanman/ntlanman.rc
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#define REACTOS_VERSION_DLL
|
||||||
|
#define REACTOS_STR_FILE_DESCRIPTION "LAN Manager\0"
|
||||||
|
#define REACTOS_STR_INTERNAL_NAME "ntlanman\0"
|
||||||
|
#define REACTOS_STR_ORIGINAL_FILENAME "ntlanman.dll\0"
|
||||||
|
#include <reactos/version.rc>
|
43
reactos/dll/win32/ntlanman/ntlanman.spec
Normal file
43
reactos/dll/win32/ntlanman/ntlanman.spec
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
1 stub -noname Ordinal1
|
||||||
|
2 stub -noname Ordinal2
|
||||||
|
3 stub -noname Ordinal3
|
||||||
|
4 stub -noname Ordinal4
|
||||||
|
5 stub -noname Ordinal5
|
||||||
|
6 stub -noname Ordinal6
|
||||||
|
7 stub -noname Ordinal7
|
||||||
|
8 stub -noname Ordinal8
|
||||||
|
9 stub -noname Ordinal9
|
||||||
|
10 stub -noname Ordinal10
|
||||||
|
11 stub -noname Ordinal11
|
||||||
|
12 stdcall NPGetConnection(wstr wstr ptr)
|
||||||
|
13 stdcall NPGetCaps(long)
|
||||||
|
14 stdcall DllMain(ptr long ptr)
|
||||||
|
15 stub I_SystemFocusDialog
|
||||||
|
16 stdcall NPGetUser(wstr wstr ptr)
|
||||||
|
17 stdcall NPAddConnection(ptr wstr wstr)
|
||||||
|
18 stdcall NPCancelConnection(wstr long)
|
||||||
|
19 stub IsDfsPathEx
|
||||||
|
20 stub NPAddConnection3ForCSCAgent
|
||||||
|
21 stub NPCancelConnectionForCSCAgent
|
||||||
|
22 stub ServerBrowseDialogA0
|
||||||
|
23 stub ShareAsDialogA0
|
||||||
|
24 stub ShareCreate
|
||||||
|
25 stub ShareManage
|
||||||
|
26 stub ShareStop
|
||||||
|
27 stub StopShareDialogA0
|
||||||
|
28 stub -noname Ordinal28
|
||||||
|
29 stdcall NPPropertyDialog(ptr long long wstr long)
|
||||||
|
30 stdcall NPGetDirectoryType(wstr ptr long)
|
||||||
|
31 stdcall NPDirectoryNotify(ptr wstr long)
|
||||||
|
32 stdcall NPGetPropertyText(long long wstr wstr long long)
|
||||||
|
33 stdcall NPOpenEnum(long long long ptr ptr)
|
||||||
|
34 stdcall NPEnumResource(ptr ptr ptr ptr)
|
||||||
|
35 stdcall NPCloseEnum(ptr)
|
||||||
|
36 stdcall NPFormatNetworkName(wstr wstr ptr long long)
|
||||||
|
37 stub -noname Ordinal37
|
||||||
|
38 stdcall NPAddConnection3(ptr ptr wstr wstr long)
|
||||||
|
39 stub -noname Ordinal39
|
||||||
|
40 stdcall NPGetUniversalName(wstr long ptr ptr)
|
||||||
|
41 stdcall NPGetResourceParent(ptr ptr ptr)
|
||||||
|
42 stub -noname Ordinal42
|
||||||
|
43 stub -noname Ordinal43
|
|
@ -328,6 +328,9 @@
|
||||||
<directory name="ntdsapi">
|
<directory name="ntdsapi">
|
||||||
<xi:include href="ntdsapi/ntdsapi.rbuild" />
|
<xi:include href="ntdsapi/ntdsapi.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="ntlanman">
|
||||||
|
<xi:include href="ntlanman/ntlanman.rbuild" />
|
||||||
|
</directory>
|
||||||
<directory name="ntmarta">
|
<directory name="ntmarta">
|
||||||
<xi:include href="ntmarta/ntmarta.rbuild" />
|
<xi:include href="ntmarta/ntmarta.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue