| 139 | } |
| 140 | |
| 141 | LPBYTE CaptureByteArray(LPBYTE pbDataPtr, LPBYTE pbDataEnd, size_t nLength, LPBYTE pbOutput) |
| 142 | { |
| 143 | // Is there enough data? |
| 144 | if((pbDataPtr + nLength) > pbDataEnd) |
| 145 | return NULL; |
| 146 | |
| 147 | // Give data |
| 148 | memcpy(pbOutput, pbDataPtr, nLength); |
| 149 | |
| 150 | // Return the pointer to data following after the integer |
| 151 | return pbDataPtr + nLength; |
| 152 | } |
| 153 | |
| 154 | LPBYTE CaptureContentKey(LPBYTE pbDataPtr, LPBYTE pbDataEnd, PCONTENT_KEY * PtrCKey) |
| 155 | { |
no outgoing calls
no test coverage detected