P4CallBacksBinaryResultsDelegate Delegate
|
Delegate definition for the binary results callback.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax public delegate void BinaryResultsDelegate(
uint cmdID,
IntPtr data,
int count
)
Public Delegate Sub BinaryResultsDelegate (
cmdID As UInteger,
data As IntPtr,
count As Integer
)
public delegate void BinaryResultsDelegate(
unsigned int cmdID,
IntPtr data,
int count
)
type BinaryResultsDelegate =
delegate of
cmdID : uint32 *
data : IntPtr *
count : int -> unit
Parameters
- cmdID
- Type: SystemUInt32
Id if the command making the callback - data
- Type: SystemIntPtr
Binary data generated by the command - count
- Type: SystemInt32
The size in bytes of the data
Remarks
If this callback is used, the binary output generated by a command
will be delivered by one or more call to the supplied delegate.
It multiple calls are made, the entire output is obtained by
concatenating the data from each call.
See Also