StrMidW (FUN)

FUNCTION StrMidW

Copies |iLength| characters of |pwst| to |pwstResult|, beginning at the |iPosition|-th character position. ..note:

|iPosition| = 1 is the first character.

InOut:

Scope

Name

Type

Comment

Input

pwst

POINTER TO WORD

Pointer to the source string

uiInputBufferSize

UINT

The size of the buffer, where pwst points to

iLength

INT

The number of charactes that shall be copied

iPosition

INT

The position from where copying shall start

pwstResult

POINTER TO WORD

The buffer, where the result will be returned

uiResultBufferSize

UINT

The size of the buffer (in bytes), where the result will be returned