plh (LAYOUT_OBJECT) - input
The plh argument specifies a layout object returned by the LayoutCreateObject function.
The InpBuf argument specifies the source text to be processed. The InpBuf may not be NULL.
The InpSize argument specifies the number of code elements to be processed in units associated with the type, i.e. bytes for LayoutTransform. A value of-1 indicates that input is delimited by a NULL code element. On return, the value is modified to the actual number of code elements processed in InBuf (unless the value in OutSize is zero, in which case, the value of InpSize is not changed).
The OutBuf argument contains the transformed data. This argument can be specified as a Null pointer to indicate that no transformed data is required.
On input, the OutSize argument specifies the size of the output buffer in number of bytes. The output buffer should be large enough to contain the transformed result; otherwise, only a partial transformation will be performed. If the ActiveShapeEditing layout value is set (True) the OutBuf is recommended to be allocated to contain at least.
number of code element
On return, the OutSize argument is modified to the actual number of bytes placed in OutBuf.
When the OutSize argument is specified as zero, the function will calculate the size of an output buffer large enough to contain the transformed text, and the result will be returned in this field. The content of the buffers specified by InpBuf and OutBuf, and a value of InpSize, will remain unchanged.
If the InpToOut argument is not a Null pointer, it represents an array of values with the same number of code elements as InpBuf. On output, the nth value in InpToOut corresponds to the nth code element in InpBuf.
If the OutTolnp argument is not a NULL pointer, it represents an array of values with the same number of code elements as contained in OutBuf. On output, the nth value in OutTolnp corresponds to the nth element in OutBuf. This value is the index in InpBuf which identifies the original code element of the nth element in OutBuf. OutTolnp may be specified as NULL if no index array from OutBuf to InpBuf is desired.
If the BidiLevel argument is not a NULL pointer, it represents an array of values with the same number of elements as the source text. The nth value in BidiLevel corresponds to the nth code element in InpBuf. This value is the level of this code element as determined by the bidirectional algorithm. BidiLevel may be specified as NULL if a levels array is not desired.