¡@

Home 

c# Programming Glossary: ghkey

How to apply Windows group policy using .NET?

http://stackoverflow.com/questions/2266797/how-to-apply-windows-group-policy-using-net

BYTE szkeyValue DWORD dwkeyValue CoInitialize NULL HKEY ghKey ghSubKey hSubKey LPDWORD flag NULL IGroupPolicyObject pGPO NULL.. return false if pGPO GetRegistryKey GPO_SECTION_USER ghKey S_OK MessageBox NULL L Failed to get the root key L S_OK CoUninitialize.. key L S_OK CoUninitialize return false if RegCreateKeyEx ghKey subKey 0 NULL REG_OPTION_NON_VOLATILE KEY_WRITE NULL ghSubKey..