我需要一种方式来确定运行我的程序的计算机是否加入到任何域.它是什么特定领域并不重要,它是否连接到任何东西.我在Vc编码针对Win32 API.
解决方法
直接来自微软:
How To Determine If a Windows NT/Windows 2000 Computer Is a Domain Member
This article describes how to
determine if a computer that is
running Windows NT 4.0 or Windows 2000
is a member of a domain,is a member
of a workgroup,or is a stand-alone
computer using the Local Security
Authority APIs.