-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows Versions above XP have a limited VDMREDIR.DLL as shown in @57…
…6eafa, so LanManager/NetBIOS interfaces are limited. Adding some DLLs that try to re-enable missing functionality in Windows 7 and above, but this requires Windows Server 2003 sourcecode, therefore make it optional. #219
- Loading branch information
1 parent
715bf0c
commit 5579442
Showing
41 changed files
with
32,165 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@echo off | ||
call ..\basepath.cmd | ||
SETLOCAL EnableDelayedExpansion | ||
pushd %BASEPATH%\.. | ||
set BASEDIR=%CD% | ||
set BUILD_ALLOW_ALL_WARNINGS=1 | ||
chcp 437 | ||
|
||
rem -- Build SAM lib | ||
pushd ds\sam\client\w7 | ||
build | ||
popd | ||
|
||
|
||
rem -- Build NETRAP and XACTSRV | ||
pushd ds\netapi | ||
|
||
pushd netlib\w7 | ||
build | ||
popd | ||
|
||
pushd rap | ||
build | ||
popd | ||
|
||
pushd dosprint | ||
build | ||
popd | ||
|
||
pushd rpcxlate\rxcommon | ||
build | ||
popd | ||
|
||
pushd rpcxlate\rxapi | ||
build | ||
popd | ||
|
||
pushd svcdlls\srvsvc\client\w7 | ||
build | ||
popd | ||
|
||
pushd svcdlls\browser2\client | ||
build | ||
popd | ||
|
||
pushd xactsrv | ||
build | ||
popd | ||
|
||
popd | ||
|
||
rem -- Build vdmredir.dll | ||
pushd base\mvdm\vdmredir | ||
build | ||
popd | ||
|
||
popd |
79 changes: 79 additions & 0 deletions
79
ntvdmpatch/vdmredir/minntfix/minnt/base/mvdm/vdmredir/sources.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
!IF 0 | ||
|
||
Copyright (c) 1989-1991 Microsoft Corporation | ||
|
||
Module Name: | ||
|
||
sources. | ||
|
||
Abstract: | ||
|
||
This file specifies the target component being built and the list of | ||
sources files needed to build that component. Also specifies optional | ||
compiler switches and libraries that are unique for the component being | ||
built. | ||
|
||
!ENDIF | ||
|
||
MVDMDIR=$(PROJECT_ROOT)\mvdm | ||
|
||
TARGETNAME=vdmredir | ||
TARGETPATH=obj | ||
TARGETTYPE=DYNLINK | ||
TARGETLIBS=$(SDK_LIB_PATH)\advapi32.lib \ | ||
$(SDK_LIB_PATH)\kernel32.lib \ | ||
$(SDK_LIB_PATH)\netapi32w7.lib \ | ||
$(SDK_LIB_PATH)\rxapi.lib \ | ||
$(SDK_LIB_PATH)\rxcommon.lib \ | ||
$(SDK_LIB_PATH)\netlibw7.lib \ | ||
$(SDK_LIB_PATH)\netutils.lib \ | ||
$(SDK_LIB_PATH)\netlibold.lib \ | ||
$(SDK_LIB_PATH)\ntvdm.lib \ | ||
$(SDK_LIB_PATH)\xactsrv.lib \ | ||
$(SDK_LIB_PATH)\netrap.lib \ | ||
$(SDK_LIB_PATH)\safecrtnt.lib \ | ||
$(SDK_LIB_PATH)\rpcrt4.lib | ||
# $(DS_LIB_PATH)\netapi32p.lib \ | ||
|
||
DLLENTRY=VrDllInitialize | ||
DLLBASE=0x03000000 | ||
|
||
USE_MSVCRT=1 | ||
|
||
INCLUDES=\ | ||
$(MVDMDIR)\vdmredir;\ | ||
$(MVDMDIR)\inc;\ | ||
$(NET_INC_PATH);\ | ||
$(DS_INC_PATH);\ | ||
$(MVDMDIR)\softpc.new\base\inc;\ | ||
$(MVDMDIR)\softpc.new\host\inc | ||
|
||
SOURCES=..\vdmredir.rc \ | ||
..\vrmslot.c \ | ||
..\vrnmpipe.c \ | ||
..\vrdisp.c \ | ||
..\vrinit.c \ | ||
..\vrmisc.c \ | ||
..\vrnetapi.c \ | ||
..\vrnetb.c \ | ||
..\vrputil.c \ | ||
..\vrremote.c \ | ||
..\vrdlc5c.c \ | ||
..\vrdlcpst.c \ | ||
..\vrdlcbuf.c \ | ||
..\vrdlcdbg.c \ | ||
..\vrdebug.c \ | ||
..\vrdll.c | ||
|
||
MSC_WARNING_LEVEL=/W3 /WX | ||
|
||
C_DEFINES=-DVDMREDIR_DLL -DUNALIGNED_VDM_POINTERS $(C_DEFINES) | ||
|
||
NO_SAFESEH=1 | ||
|
||
# | ||
# HACKHACK: We are forcing it to link with multiply symbols because we do not have netapi32p.lib | ||
# at the moment. | ||
# | ||
|
||
LINKER_FLAGS=$(LINKER_FLAGS) /FORCE |
50 changes: 50 additions & 0 deletions
50
ntvdmpatch/vdmredir/minntfix/minnt/ds/netapi/dosprint/sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
!IF 0 | ||
|
||
Copyright (c) 1989-1992 Microsoft Corporation | ||
|
||
Module Name: | ||
|
||
sources. | ||
|
||
Abstract: | ||
|
||
This file specifies the target component being built and the list of | ||
sources files needed to build that component. Also specifies optional | ||
compiler switches and libraries that are unique for the component being | ||
built. | ||
|
||
|
||
Author: | ||
|
||
Steve Wood (stevewo) 12-Apr-1990 | ||
|
||
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl | ||
|
||
!ENDIF | ||
|
||
MAJORCOMP=windows | ||
MINORCOMP=dosprint | ||
|
||
TARGETNAME=dosprint | ||
TARGETPATH=$(SDK_LIB_DEST) | ||
TARGETTYPE=LIBRARY | ||
|
||
TARGETLIBS=$(SDK_LIB_PATH)\winspool.lib | ||
|
||
INCLUDES=$(DS_INC_PATH);$(BASE_INC_PATH);$(NET_INC_PATH);..\inc | ||
|
||
C_DEFINES=-DNO_WINSPOOLH | ||
|
||
!IFNDEF DISABLE_NET_UNICODE | ||
UNICODE=1 | ||
NET_C_DEFINES=-DUNICODE | ||
!ENDIF | ||
|
||
MSC_WARNING_LEVEL=/W3 /WX | ||
|
||
SOURCES=\ | ||
dosspool.c \ | ||
DosPrint.c \ | ||
DosPrtP.c \ | ||
DosPrtW.c \ | ||
convprt.c |
Oops, something went wrong.