From: SMTP%"Administrator@krinfo.com" 4-NOV-1997 16:12:19.63 To: ntfsd@atria.com CC: Subj: [ntfsd] Message not deliverable Return-Path: owner-ntfsd@atria.com Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX); Tue, 4 Nov 1997 16:09:53 -0500 Received: from gw.atria.com (gw.atria.com [192.88.237.2]) by mercury.mv.net (8.8.8/mem-971025) with SMTP id GAA00173 for ; Tue, 4 Nov 1997 06:22:56 -0500 (EST) Received: by gw.atria.com id Tue, 4 Nov 1997 03:17:00 -0500 Received: from fireboat by gw.atria.com id Tue, 4 Nov 1997 03:16:54 -0500 Received: from smtp-gw.krinfo.com by fireboat (SMI-8.6/SMI-4.1) id AAA10463; Tue, 4 Nov 1997 00:16:52 -0800 Received: from ccMail by smtp-gw.krinfo.com (IMA Internet Exchange 2.12 Enterprise) id 000033CD; Tue, 4 Nov 1997 00:19:21 -0800 Mime-Version: 1.0 Date: Tue, 4 Nov 1997 00:18:57 -0800 Message-ID: <000033CD.1217@krinfo.com> From: Administrator@krinfo.com (Administrator) Subject: [ntfsd] Message not deliverable To: ntfsd@atria.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Description: cc:Mail note part Sender: owner-ntfsd@atria.com Precedence: bulk ntfsd-digest Tuesday, November 4 1997 Volume 01 : Number 237 ---------------------------------------------------------------------- Date: Mon, 03 Nov 1997 09:27:18 +0000 From: Gareth Richards Subject: [ntfsd] ZwCreateFile() and NwRdr I have a filter driver that has been quite happily opening/creating files for a while now. I am now testing it on top of NwRdr and have run into a problem. Can anyone tell me what the value of 2C means that is always being returned in IoStatus.Information if the file is successfully opened, created, overwritten or whatever. With all the other FSDs the value is the normal FILE_OPENED etc. Thanks. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] ------------------------------ Date: Mon, 3 Nov 1997 13:23:09 +0200 From: "Roman Rutman (sw)" Subject: [ntfsd] ports - -----BEGIN PGP SIGNED MESSAGE----- Hello All, Somebody can help me with headers or/and some sample of NtCreatePort/NtRequestWaitReplyPort/NtReplyReceivePort? TIA, Roman Rutman email: romanr@mailhost.net PGP Fingerprint: 3AAB 435F E7C8 5F14 D526 60A5 9856 8B0D - -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQCVAwUBNF2X/hFtKtoCwwQZAQH0cQP/XT9BxvxOev3ambhuwWd9T8ktpQSIFfQJ 3GEqQ1yhN/wG7TUbAXAEYpQXFHYGb5TUTVGfJ4SVpLTElkJrY3KV7tqHRsfNwZ8t TE9o2DjaeGxL6XghFJ7QzcpO0cZgPStSum0LrH3J2CebTlYr2eHutJ9R2a5J+kP3 2MM9elrqJVU= =jUux - -----END PGP SIGNATURE----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] ------------------------------ Date: Mon, 3 Nov 1997 11:30:56 -0700 From: "Pete Scott" Subject: [none] When opening a file by file id (IRP_MJ_CREATE with the FILE_OPEN_BY_FILE_ID option set), does anyone know where the file id is buried? Thanks in advance. Pete Scott NT Senior Architect EMASS, Inc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] ------------------------------ Date: Mon, 03 Nov 1997 18:14:50 -0500 From: Tony Mason Subject: [ntfsd] Re: At 11:30 AM 11/3/97 -0700, Pete Scott wrote: > >When opening a file by file id (IRP_MJ_CREATE with the FILE_OPEN_BY_FILE_ID >option set), does anyone know where the file id is buried? Thanks in >advance. > >Pete Scott >NT Senior Architect >EMASS, Inc. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >[ To unsubscribe, send email to ntfsd-request@atria.com with body >UNSUBSCRIBE (the subject is ignored). ] From the obvious place for a file name: FileObject->FileName.Buffer Additional information: It must be eight bytes long (FileObject->FileName.Length) It must be relative to a previously opened file (FileObject->RelatedFileObject != NULL) The easiest way to generate these in a controlled fashion is to write a test program using the native API. Regards, Tony Tony Mason Consulting Partner OSR Open Systems Resources, Inc. mason@osr.com http://www.osr.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] ------------------------------ Date: Mon, 3 Nov 1997 15:38:32 -0800 From: rick@rdperf.com Subject: [ntfsd] Opening a file by File ID >Pete Scott wrote: > >When opening a file by file id (IRP_MJ_CREATE with the FILE_OPEN_BY_FILE_ID >option set), does anyone know where the file id is buried? Thanks in >advance. > I assume from the information in the section on ZwCreateFile in the DDK documentation that the filename would be constructed something like: char *file_id_ptr_1, *file_id_ptr_2; strcpy (filename, devicename); file_id_ptr_1 = &filename[strlen (filename)]; file_id_ptr_2 = &file_id; for (i = 0; i < 8; i++) file_id_ptr_1[i] = file_id_ptr_2[i]; file_id_ptr_1[i] = 0; This is based on the following writeup under the CreateOptions Flags: FILE_OPEN_BY_FILE_ID The file name contains the name of a device and a 64-bit ID to be used to open the file. This flag is irrelevant to device and intermediate drivers. However, I would like to know how to open a file by File ID from usermode (win32 call - possibly CreateFile). I need to know the correct parameters / flags. Rick Cadruvi R&D Performance Group, Inc. 1180 E Patricia #102 Simi Valley, CA 93065 rick@rdperf.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ] ------------------------------ End of ntfsd-digest V1 #237 *************************** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to ntfsd-request@atria.com with body UNSUBSCRIBE (the subject is ignored). ]