--------------------------------------------------------------------------------------------------------------------------------- CDXBCParser::RelocateBytecode()
| 179 | //--------------------------------------------------------------------------------------------------------------------------------- |
| 180 | // CDXBCParser::RelocateBytecode() |
| 181 | HRESULT CDXBCParser::RelocateBytecode( UINT ByteOffset ) |
| 182 | { |
| 183 | if (!m_pHeader || !m_pIndex) |
| 184 | { |
| 185 | // bad -- has not been initialized yet |
| 186 | return E_FAIL; |
| 187 | } |
| 188 | m_pHeader = (const DXBCHeader*)((const BYTE*)m_pHeader + ByteOffset); |
| 189 | m_pIndex = (const UINT32*)((const BYTE*)m_pIndex + ByteOffset); |
| 190 | return S_OK; |
| 191 | } |
| 192 | |
| 193 | } |
nothing calls this directly
no outgoing calls
no test coverage detected