Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_ClearUserLayoutMask

VTIL_ClearUserLayoutMask

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • VTIL_ClearUserLayoutMask (dword maskIndex, dword options); // form 1
  • VTIL_ClearUserLayoutMask (dbNode vt, dword maskIndex, dword options); // form 2

Description

Removes all Window Masks and all Key Groups from a User-Layout Mask of the Virtual Terminal.

Parameters

  • maskIndex: Index of the User-Layout Mask, 0..10. Value of maskIndex must be smaller than the number of User-Layout Masks (which can be configured with VTIL_SetNodeProperty).
  • options:
    • 0: No additional option
    • 1: Send a VT On User-Layout Hide/Show message for every removed Window Mask or Key Group
  • vt: VT simulation node to apply the function.

Return Values

  • 0: Window Masks and Key Groups are successfully removed.
  • < 0: An error has occurred, see IL Error Code.

Example

Further Functions for VT – Handling (User-Layout Mask)