PsProcStream class.
More...
◆ SetDestroyProc()
Sets a user-supplied procedure to call when the the stream is destroyed.
- Parameters
-
proc | A user-supplied callback to call when the stream is destroyed. |
data | A pointer to user-supplied data to pass to proc each time it is called. |
- Returns
- true if callback was set, false otherwise.
◆ SetGetSizeProc()
Sets a user-supplied procedure to call when the the stream is destroyed.
- Parameters
-
proc | A user-supplied callback to call when the stream is destroyed. |
data | A pointer to user-supplied data to pass to proc each time it is called. |
- Returns
- true if callback was set, false otherwise.
◆ SetReadProc()
Sets a user-supplied procedure to call when the read event occurs.
- Parameters
-
proc | A user-supplied callback to call when the read event occurs. |
data | A pointer to user-supplied data to pass to proc each time it is called. |
- Returns
- true if callback was set, false otherwise.
◆ SetWriteProc()
Sets a user-supplied procedure to call when the write event occurs.
- Parameters
-
proc | A user-supplied callback to call when the write event occurs. |
data | A pointer to user-supplied data to pass to proc each time it is called. |
- Returns
- true if callback was set, false otherwise.