Delegate definition for the binary results callback.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)
Syntax
C# |
---|
public delegate void BinaryResultsDelegate( uint cmdID, IntPtr data, int count ) |
Visual Basic |
---|
Public Delegate Sub BinaryResultsDelegate ( _ cmdID As UInteger, _ data As IntPtr, _ count As Integer _ ) |
Visual C++ |
---|
public delegate void BinaryResultsDelegate( unsigned int cmdID, IntPtr data, int count ) |
Parameters
- cmdID
- Type: System..::..UInt32
Id if the command making the callback
- data
- Type: System..::..IntPtr
Binary data generated by the command
- count
- Type: System..::..Int32
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.