//+-------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996-1996 // // File: svcrole.h // // Contents: This is the include to include common we need // // History: // //--------------------------------------------------------------------------- #ifndef __SVCROLE_H__ #define __SVCROLE_H__ #include #include // Netxxx API includes #include #include #include #include typedef enum _SERVER_ROLE_IN_DOMAIN { SERVERROLE_ERROR, SERVERROLE_NOT4, SERVERROLE_NOTSERVER, SERVERROLE_STANDALONE, SERVERROLE_SERVER, SERVERROLE_PDC, SERVERROLE_BDC, SERVERROLE_NT4DOMAIN } SERVER_ROLE_IN_DOMAIN; #ifdef __cplusplus extern "C" { #endif BOOL GetMachineGroup( LPWSTR pszServer, LPWSTR* pszGroupName ); BOOL IsDomainController( LPWSTR Server, LPBOOL bDomainController ); SERVER_ROLE_IN_DOMAIN GetServerRoleInDomain( LPWSTR Server ); #ifdef __cplusplus } #endif #endif