Revision 1378,
894 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Line | |
---|
1 | #ifndef __AG_WIN32_REGISTRY_ACCESS__
|
---|
2 | #define __AG_WIN32_REGISTRY_ACCESS__
|
---|
3 |
|
---|
4 | /* AgWin32RegistryAccess is not part of the API and should not be included in the documentation.*/
|
---|
5 | /** \cond */
|
---|
6 |
|
---|
7 | #include <windows.h>
|
---|
8 |
|
---|
9 | #define AG_BASE_KEY_NAME "Software\\AGEIA Technologies\\"
|
---|
10 | #define AG_LOCAL_DLL_SUBKEY_NAME "enableLocalPhysXCore"
|
---|
11 | #define AG_NO_NIC_MAC "AGEIA"
|
---|
12 |
|
---|
13 | class AgWin32RegistryAccess
|
---|
14 | {
|
---|
15 | public:
|
---|
16 | static bool ReadRegKey(const char *inKey, const char *inSubKey, char *outData, unsigned int *length);
|
---|
17 | static bool WriteRegKey(const char *inKey, const char *inSubKey, const char *inData, unsigned int length, bool nonvolatile, unsigned int wordType=REG_SZ);
|
---|
18 | bool EnableLocalDllUsage();
|
---|
19 | bool DisableLocalDllUsage();
|
---|
20 | bool IsLocalDllUsageEnabled();
|
---|
21 |
|
---|
22 | private:
|
---|
23 | bool getMACAddr(unsigned char addr[8]);
|
---|
24 | };
|
---|
25 |
|
---|
26 | /** \endcond */
|
---|
27 |
|
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.