theShockWave I work at a firm named Koslow | Code :
- BYTE DataLength[4];
- int nBytes = 0;
- int n = (int)io->read_proc(&DataLength, sizeof(DataLength), 1, handle);
- int nTotalBytes = psdGetValue( DataLength, sizeof(DataLength) );
- BYTE data[1];
- while( n && ( nBytes < nTotalBytes ) ) {
- data[0] = '\0';
- n = (int)io->read_proc(&data, sizeof(data), 1, handle);
- nBytes += n * sizeof(data);
- }
|
---------------
last.fm
|