Loading plugins/nodeinfo/nodeinfo.cpp +10 −0 Changes for plugins/nodeinfo/nodeinfo.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -153,6 +153,16 @@ namespace blogi { htmltable << (libhtmlpp::HtmlTable::Row() << "Hardware :" << usysinfo.machine); htmltable << (libhtmlpp::HtmlTable::Row() << _DistName << _DistEntry); #else // Windows implementation // Typedef for the signature of GetProductInfo typedef BOOL (WINAPI *PGETPRODUCTINFO)( DWORD dwOSMajorVersion, DWORD dwOSMinorVersion, DWORD dwSpMajorVersion, DWORD dwSpMinorVersion, PDWORD pdwReturnedProductType ); OSVERSIONINFOW info; memset(&info, 0, sizeof(OSVERSIONINFOW)); info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); Loading Loading
plugins/nodeinfo/nodeinfo.cpp +10 −0 Changes for plugins/nodeinfo/nodeinfo.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -153,6 +153,16 @@ namespace blogi { htmltable << (libhtmlpp::HtmlTable::Row() << "Hardware :" << usysinfo.machine); htmltable << (libhtmlpp::HtmlTable::Row() << _DistName << _DistEntry); #else // Windows implementation // Typedef for the signature of GetProductInfo typedef BOOL (WINAPI *PGETPRODUCTINFO)( DWORD dwOSMajorVersion, DWORD dwOSMinorVersion, DWORD dwSpMajorVersion, DWORD dwSpMinorVersion, PDWORD pdwReturnedProductType ); OSVERSIONINFOW info; memset(&info, 0, sizeof(OSVERSIONINFOW)); info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOW); Loading