TO_PVOID

TO_PVOID 1:

The TO_PVOID function converts an integer value into a generic pointer (PVOID). The input variable xValue , which is of type ANY_INT, is converted to a PVOID pointer depending on the processor architecture (x86 or x64).

TO_PVOID 2:

This function is used to convert values of type ANY_INT to pointer types.

Syntax

FUNCTION TO_PVOID : PVOID
VAR_INPUT
  xValue     : ANY_INT;
END_VAR

TO_PVOID 3: Inputs

Name

Type

Description

xValue

ANY_INT

The value to convert.