Lines Matching refs:dwRes
67 DWORD dwRes = 0;
76 dwRes = GetNamedSecurityInfo(pszObjName, ObjectType,
79 if (ERROR_SUCCESS != dwRes)
81 if (dwRes == ERROR_FILE_NOT_FOUND)
84 VBoxServiceError("AddAceToObjectsSecurityDescriptor: GetNamedSecurityInfo: Error %u\n", dwRes);
97 dwRes = SetEntriesInAcl(1, &ea, pOldDACL, &pNewDACL);
98 if (ERROR_SUCCESS != dwRes)
100 VBoxServiceError("AddAceToObjectsSecurityDescriptor: SetEntriesInAcl: Error %u\n", dwRes);
105 dwRes = SetNamedSecurityInfo(pszObjName, ObjectType,
108 if (ERROR_SUCCESS != dwRes)
110 VBoxServiceError("AddAceToObjectsSecurityDescriptor: SetNamedSecurityInfo: Error %u\n", dwRes);
122 return dwRes;
341 DWORD dwRes = vboxServiceWinAddAceToObjectsSecurityDescriptor(TEXT("\\\\.\\VBoxMiniRdrDN"),
348 if (dwRes != ERROR_SUCCESS)
350 if (dwRes == ERROR_FILE_NOT_FOUND)
358 rc = RTErrConvertFromWin32(dwRes);