Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 879 of file shpolicy.cpp.
{ TRACE("(%p, %p)\n", unused, inpRegKey); /* first check - if input is non-NULL and points to the secret key string, then pass. Otherwise return 0. */ if (inpRegKey != NULL) { if (SHELL_OsIsUnicode()) { if (lstrcmpiW((LPCWSTR)inpRegKey, strRegistryPolicyW) && lstrcmpiW((LPCWSTR)inpRegKey, strPolicyW)) /* doesn't match, fail */ return 0; } else { if (lstrcmpiA((LPCSTR)inpRegKey, strRegistryPolicyA) && lstrcmpiA((LPCSTR)inpRegKey, strPolicyA)) /* doesn't match, fail */ return 0; } } return TRUE; }