resonance 1.0.1
Loading...
Searching...
No Matches
MovieAsyncCallback Class Reference

Receiver of the first read of every movie stream. More...

#include <movieasynccallback.h>

Inheritance diagram for MovieAsyncCallback:
Collaboration diagram for MovieAsyncCallback:

Public Member Functions

virtual void Done (int nHandle, int nFile, void *pBuffer, int nLength, int nStatus)
 Hand the completed read to the stream that queued it.
Public Member Functions inherited from AsyncCallback
virtual ~AsyncCallback ()
 Release the receiver.

Detailed Description

Receiver of the first read of every movie stream.

It derives publicly from AsyncCallback at offset 0. One instance at 0x00767940 serves every Rnd::AMovieSet. Its destructor at 0x00580708 and its type accessor at 0x00580738 are compiler-generated.

Member Function Documentation

◆ Done()

virtual void MovieAsyncCallback::Done ( int nHandle,
int nFile,
void * pBuffer,
int nLength,
int nStatus )
virtual

Hand the completed read to the stream that queued it.

The pending list is searched for the stream whose request nHandle is. A failed read, or a header Rnd::AMovieSet::ParseHeader() rejects, is fatal. Otherwise the stream is marked loaded. The stream then leaves the list. A handle no stream owns is fatal.

Parameters
nHandleThe request identifier.
nFileThe file the read was issued against.
pBufferThe buffer the read filled.
nLengthThe bytes read.
nStatusZero on success, or a positive failure code.
Ghidra address:
NTSC-U/C: 0x00580178
Ghidra address:
PAL: 0x005c31b0

Implements AsyncCallback.


The documentation for this class was generated from the following file: