Checks whether user wants to use fully-qualified domain names (FQDN) when returning paths for the UNC plugins. @return true if FQDNs should be used, false otherwise.
| 267 | // @return true if FQDNs should be used, false otherwise. |
| 268 | // |
| 269 | bool Settings::GetUseFQDN() const |
| 270 | { |
| 271 | // Perform late-revising. |
| 272 | Revise(); |
| 273 | |
| 274 | // Check if value exists. If so, read it, otherwise use default value. |
| 275 | bool useFQDN = SETTING_USE_FQDN_DEFAULT; |
| 276 | DWORD regUseFQDN = 0; |
| 277 | if (m_UserKey.QueryDWORDValue(SETTING_USE_FQDN, regUseFQDN) == ERROR_SUCCESS) { |
| 278 | useFQDN = regUseFQDN != 0; |
| 279 | } |
| 280 | return useFQDN; |
| 281 | } |
| 282 | |
| 283 | // |
| 284 | // Checks whether user wants us to add quotes around the paths |
no test coverage detected