Difference between revisions of "API Console.SetLineBytes"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen) |
(XML import) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <sidebar>API | + | <sidebar>API Contents</sidebar> |
Writes a line of bytes from the given console, pass -1 for final line | Writes a line of bytes from the given console, pass -1 for final line | ||
+ | <div style="width:25%; float:right" class="toc"> | ||
+ | ====Class hierarchy==== | ||
+ | [[API Console|Console]] | ||
+ | :[[API Console|SetLineBytes]] | ||
+ | </div> | ||
+ | __TOC__ | ||
− | + | ==Parameters== | |
− | + | [[Variable Types|HANDLE]] ''ConsoleHandle'' | |
:A valid console windows handle | :A valid console windows handle | ||
− | + | [[Variable Types|ULONG]] ''Line'' | |
:The zero-based index of the line to write the data to | :The zero-based index of the line to write the data to | ||
− | + | [[Variable Types|BYTE[]]] ''Data'' | |
:A block of data to add to the console | :A block of data to add to the console | ||
− | + | [[Variable Types|ULONG]] ''Offset'' | |
:An offset into Data of the first byte to read from | :An offset into Data of the first byte to read from | ||
:''The default value for this parameter is: '''''0''' | :''The default value for this parameter is: '''''0''' | ||
− | + | [[Variable Types|ULONG]] ''MaxBytes'' | |
:The maximum number of bytes to read, -1 for all | :The maximum number of bytes to read, -1 for all | ||
:''The default value for this parameter is: '''''-1''' | :''The default value for this parameter is: '''''-1''' | ||
− | + | ||
+ | ==Return value== | ||
''This call does not return a value'' | ''This call does not return a value'' | ||
− | |||
− | |||
− | ===Examples | + | ==Detailed description== |
− | + | ''<span style="color:red;">No additional information</span>'' | |
− | * Add to a calculation icon: ::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes) | + | |
+ | |||
+ | ==Examples== | ||
+ | ===Calling in a calculation=== | ||
+ | * Add to a calculation icon: <pre class="brush:[cpp]">::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)</pre> | ||
+ | |||
+ | ''<span style="color:red;">No additional examples</span>'' |
Latest revision as of 15:57, 16 January 2014
<sidebar>API Contents</sidebar> Writes a line of bytes from the given console, pass -1 for final line
Contents
Parameters
HANDLE ConsoleHandle
- A valid console windows handle
ULONG Line
- The zero-based index of the line to write the data to
BYTE[] Data
- A block of data to add to the console
ULONG Offset
- An offset into Data of the first byte to read from
- The default value for this parameter is: 0
ULONG MaxBytes
- The maximum number of bytes to read, -1 for all
- The default value for this parameter is: -1
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)
No additional examples