FILE_CHARACTERISTICS_PROPAGATED

As in

DeviceObject->Characteristics |= (DeviceObject->Characteristics &
FILE_CHARACTERISTICS_PROPAGATED);

Just wonder what this flag does. Anybody knows?

TIA

You mean you didn’t search ntddk.h for the comment? Shame on you!

//
// flags specified here will be propagated up and down a device stack
// after FDO and all filter devices are added, but before the device
// stack is started
//

#define FILE_CHARACTERISTICS_PROPAGATED ( FILE_REMOVABLE_MEDIA | \
FILE_READ_ONLY_DEVICE | \
FILE_FLOPPY_DISKETTE | \
FILE_WRITE_ONCE_MEDIA | \
FILE_DEVICE_SECURE_OPEN )

ChuBun wrote:

As in

DeviceObject->Characteristics |= (DeviceObject->Characteristics &
FILE_CHARACTERISTICS_PROPAGATED);

Just wonder what this flag does. Anybody knows?

TIA


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

  • Nick Ryan (MVP for DDK)

Sometimes if you read ntddk.h you can find actual documentation for data
structures and constants defined therein:

//
// flags specified here will be propagated up and down a device stack
// after FDO and all filter devices are added, but before the device
// stack is started
//

#define FILE_CHARACTERISTICS_PROPAGATED ( FILE_REMOVABLE_MEDIA | \
FILE_READ_ONLY_DEVICE | \
FILE_FLOPPY_DISKETTE | \
FILE_WRITE_ONCE_MEDIA | \
FILE_DEVICE_SECURE_OPEN )

=====================
Mark Roddy
Hollis Technology Solutions
www.hollistech.com
xxxxx@hollistech.com

-----Original Message-----
From: ChuBun [mailto:xxxxx@yahoo.com]
Sent: Friday, August 01, 2003 1:12 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] FILE_CHARACTERISTICS_PROPAGATED

As in

DeviceObject->Characteristics |= (DeviceObject->Characteristics &
FILE_CHARACTERISTICS_PROPAGATED);

Just wonder what this flag does. Anybody knows?

TIA


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

“Nick Ryan” wrote in message news:xxxxx@ntdev…
>
> You mean you didn’t search ntddk.h for the comment? Shame on you!
>
Indeed. I only did my search on MSDN :frowning:

> //
> // flags specified here will be propagated up and down a device stack
> // after FDO and all filter devices are added, but before the device
> // stack is started
> //
>
> #define FILE_CHARACTERISTICS_PROPAGATED ( FILE_REMOVABLE_MEDIA | <br>> FILE_READ_ONLY_DEVICE | <br>> FILE_FLOPPY_DISKETTE | <br>> FILE_WRITE_ONCE_MEDIA | <br>> FILE_DEVICE_SECURE_OPEN )
>
> ChuBun wrote:
>
> > As in
> >
> > DeviceObject->Characteristics |= (DeviceObject->Characteristics &
> > FILE_CHARACTERISTICS_PROPAGATED);
> >
> > Just wonder what this flag does. Anybody knows?
> >
> > TIA
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@nryan.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
> –
> - Nick Ryan (MVP for DDK)
>
>
>
>