Getting driver version from resource file

Hello everyone - yet another newbie question…

How can I get the version number from my resource file (driver.rc) in
kernel mode, to display in a DbgPrint message?

Thanks,

Greg

Define a macro to be used in both .C source and .RC source.

Old UNIX source control tools were even able to substitute a value for
each drop to source control. This @(#) sequence is from this.

A pity but I dunno any such feature in VSS or SourceOffSite.

Max

----- Original Message -----
From: “Greg Pearce”
To: “File Systems Developers”
Sent: Monday, June 03, 2002 7:37 PM
Subject: [ntfsd] Getting driver version from resource file

> Hello everyone - yet another newbie question…
>
> How can I get the version number from my resource file (driver.rc)
in
> kernel mode, to display in a DbgPrint message?
>
> Thanks,
>
> Greg
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

VSS has keyword expansion capability, but only if the VSS administrator
enables it.
For instance: $Revision: $ VSS version number

Carl

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
>
> Define a macro to be used in both .C source and .RC source.
>
> Old UNIX source control tools were even able to substitute a value for
> each drop to source control. This @(#) sequence is from this.
>
> A pity but I dunno any such feature in VSS or SourceOffSite.
>
> Max
>