machine name from kernel?

Hello,

Is there a function Zw…(…) call I can make, or a registry entry I can
look at for the machine name (computer name)?

Thx,


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You can find it in the registry:

HKLM\SYSTEM\CurrentControlSet\Control\ComputerName

Zoltan


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Maybe the registry key HKLM\System\CCS\Control\ComputerName\ComputerName key? Or
HKLM\System\CCS\Control\ComputerName\ActiveComputerName?

Ed Lau

MidCore Software, Inc.
900 Straits Tpke
Middlebury, CT 06762

www.midcore.com
----- Original Message -----
From: xxxxx@qwest.net
To: NT Developers Interest List
Sent: Thursday, September 27, 2001 10:46 AM
Subject: [ntdev] machine name from kernel?

Hello,

Is there a function Zw…(…) call I can make, or a registry entry I can
look at for the machine name (computer name)?

Thx,


You are currently subscribed to ntdev as: xxxxx@midcore.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ActiveCompu
terName
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerNam
e

?

  • asit

-----Original Message-----
From: xxxxx@qwest.net [mailto:xxxxx@qwest.net]
Sent: Thursday, September 27, 2001 3:47 AM
To: NT Developers Interest List
Subject: [ntdev] machine name from kernel?

Hello,

Is there a function Zw…(…) call I can make, or a registry entry I
can
look at for the machine name (computer name)?

Thx,


You are currently subscribed to ntdev as: xxxxx@greenborder.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com