How do I pass a window handle as input parameter to invoke python activity?

Hi UiPath Forum,

I am passing 3 input arguments to “invoke python method” activity.

  1. int32
  2. int32
  3. System.IntPtr

The input parameters of “Invoke Python Method” activity I put “{3, 7, whnd}”
where whnd variable is of type System.IntPtr

But I have difficulty in Python script retrieve this info,

for example, in my Python script ,

def UiPathCallFn( num1, num2, windowhandle):

but when running the script from uiPath, it returns
1 or more errors in running script.

How can I pass the whandle to python script ?