Login(Email) Password Forget Password? Account Settings
Home ASP.net System Info C# Books Java Script Visual C++(MFC) C/C++ Win API Java Contact Us
These are the Win API to access the Registry of windows
RegCloseKey()
RegConnectRegistry()
RegCreateKey()
RegCreateKeyEx()
RegDeleteKey()
RegDeleteValue()
RegEnumKey()
RegEnumKeyEx()
RegEnumValue()
RegFlushKey()
RegGetKeySecurity()
RegLoadKey()
RegNotifyChangeKeyValue()
RegOpenKey()
RegOpenKeyEx()
RegQueryInfoKey()
RegQueryMultipleValues()
RegQueryValue()
RegQueryValueEx()
RegReplaceKey()
RegRestoreKey()
RegSaveKey()
RegSetKeySecurity()
RegUnLoadKey()
RegSetValue()
RegSetValueEx()
ShellExecuteEx: (How to run an Exe files using ShellExecute and ShellExecuteEx)
This Win API is used to open the exe files (website) from C++, Visual C++ and QT library.
SHELLEXECUTEINFO sie;
memset(&sie,0,sizeof(SHELLEXECUTEINFO));
sie.cbSize = sizeof(SHELLEXECUTEINFO);
sie.lpVerb = L"open";
sie.lpFile = L"www.itworld2.com";
sie.nShow = SW_SHOWMAXIMIZED;
sie.fMask = SEE_MASK_FLAG_NO_UI;
sie.nShow = SW_SHOWMAXIMIZED;
sie.fMask = SEE_MASK_FLAG_NO_UI;
ShellExecuteEx(&sie);
How To check the Total Physical memory, free total Physical memory,total Paging file, free paging file, total virtual memory and free virtual memory
MEMORYSTATUS stat;
GlobalMemoryStatus (&stat);
stat.dwTotalPhys/1024; //  will return total physical memory in KB
stat.dwAvailPhys/1024; //  will return total free physical memory in KB
stat.dwTotalPageFile/1024; //will return total paging filery in KB
stat.dwAvailPageFile/1024; //will return free total paging filery in KB
stat.dwTotalVirtual/1024; // will return total virtual memory in KB
stat.dwAvailVirtual/1024; // will return total free virtual memory in KB