equal
deleted
inserted
replaced
127 return OD_NO_SUCH_SUBINDEX; |
127 return OD_NO_SUCH_SUBINDEX; |
128 } |
128 } |
129 |
129 |
130 if (checkAccess && (ptrTable->pSubindex[bSubindex].bAccessType & WO)) { |
130 if (checkAccess && (ptrTable->pSubindex[bSubindex].bAccessType & WO)) { |
131 MSG_WAR(0x2B30, "Access Type : ", ptrTable->pSubindex[bSubindex].bAccessType); |
131 MSG_WAR(0x2B30, "Access Type : ", ptrTable->pSubindex[bSubindex].bAccessType); |
132 accessDictionaryError(wIndex, bSubindex, 0, 0, OD_WRITE_NOT_ALLOWED); |
132 accessDictionaryError(wIndex, bSubindex, 0, 0, OD_READ_NOT_ALLOWED); |
133 return OD_READ_NOT_ALLOWED; |
133 return OD_READ_NOT_ALLOWED; |
134 } |
134 } |
135 |
135 |
136 *pDataType = ptrTable->pSubindex[bSubindex].bDataType; |
136 *pDataType = ptrTable->pSubindex[bSubindex].bDataType; |
137 szData = ptrTable->pSubindex[bSubindex].size; |
137 szData = ptrTable->pSubindex[bSubindex].size; |