The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: tring on June 22, 2008, 06:09:16 PM

Title: Where is the W2k folder?
Post by: tring on June 22, 2008, 06:09:16 PM
My masm32 version is V9.0
But I can not find this folder in my Include or Lib folder
How can I get it ?
Title: Re: Where is the W2k folder?
Post by: Vortex on June 22, 2008, 06:15:47 PM
Hi tring,

Welcome to the forum.

The include and lib folders does not contain a folder named W2K.

Could you explain us the problem with more details?
Title: Re: Where is the W2k folder?
Post by: tring on June 22, 2008, 06:23:49 PM
Like this
http://www.masm32.com/board/index.php?topic=6013.0

;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;                                  I N C L U D E   F I L E S                                       
;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


;für Test
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
include \masm32\include\debug.inc
includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\debug.lib

;include \masm32\include\w2k\ntdef.inc
include \masm32\include\w2k\ntstatus.inc
include \masm32\include\w2k\ntdll.inc
includelib \masm32\lib\w2k\ntdll.lib



********************
Or like this



.386
.model flat, stdcalloption casemap:none
;----------------------------------------------------------------------------------------------------
;                                 I N C L U D E   F I L E S                                       
;----------------------------------------------------------------------------------------------------
include f:\masm32\include\w2k\ntstatus.inc
include f:\masm32\include\w2k\ntddk.inc
include f:\masm32\include\w2k\ntoskrnl.inc
include f:\masm32\include\w2k\w2kundoc.inc
includelib f:\masm32\lib\w2k\ntoskrnl.lib
include f:\masm32\Macros\Strings.mac
_DriverUnload proto :PDRIVER_OBJECT
_DispatchControlIo proto :PDEVICE_OBJECT,:PIRP
Title: Re: Where is the W2k folder?
Post by: Vortex on June 22, 2008, 06:27:05 PM
;include \masm32\include\w2k\ntdef.inc
include \masm32\include\w2k\ntstatus.inc
include \masm32\include\w2k\ntdll.inc
includelib \masm32\lib\w2k\ntdll.lib


It appears that the coder customized his Masm32 installation. The original Masm32 setup has no any references to include\w2k and lib\w2k
Title: Re: Where is the W2k folder?
Post by: tring on June 22, 2008, 06:31:01 PM
Then do you know how and where can I get them ?

I think there are so many API functions in ntdll.dll will use these inc or lib
Title: Re: Where is the W2k folder?
Post by: ragdog on June 22, 2008, 06:42:17 PM
hi

this library is from kernel mod driver project
http://www.freewebs.com/four-f/

ragdog
Title: Re: Where is the W2k folder?
Post by: tring on June 22, 2008, 07:34:46 PM
Oh,thanks very much !~