You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
638 B
34 lines
638 B
// File: syspol.h
|
|
|
|
#ifndef _SYSPOL_H_
|
|
#define _SYSPOL_H_
|
|
|
|
|
|
class SysPol
|
|
{
|
|
protected:
|
|
static HKEY m_hkey;
|
|
|
|
SysPol() {ASSERT(FALSE);}; // This isn't a normal class
|
|
~SysPol() {};
|
|
|
|
private:
|
|
static bool FEnsureKeyOpen(void);
|
|
static DWORD GetNumber(LPCTSTR pszName, DWORD dwDefault = 0);
|
|
|
|
public:
|
|
static void CloseKey(void);
|
|
|
|
static bool AllowDirectoryServices(void);
|
|
static bool AllowAddingServers(void);
|
|
|
|
static bool NoAudio(void);
|
|
static bool NoVideoSend(void);
|
|
static bool NoVideoReceive(void);
|
|
|
|
static UINT GetMaximumBandwidth(); // returns 0 if no policy key
|
|
};
|
|
|
|
|
|
#endif /* _SYSPOL_H_ */
|
|
|