Knowledgebase
The solution for the case that the duplicated parameter name included in the declared function cause it to be considered as the unsupported feature in the generated UFA report
Posted by Nico Wang on 18 October 2013 10:27 AM

Phenomenon:

When you declare the local external function as follows:

FUNCTION int BitBlt(ulong hDC, int num, int num, int num, int num, ulong HDC, int num, int num, ulong dwRop) LIBRARY "Gdi32.dll"

And call this declared function as follows:

BitBlt(first_mdc,20,20,20,20,ui_mdc,0,0,SRCAND)

After doing the deployment, you get the error reporting that the declared function is unsupported feature in the UFA report.

 

 

Cause analysis:

The root cause of this issue is that there are duplicated parameter names in the declaration of BitBlt function, to resolve t his issue, you need to change the parameter name to make each parameter have different name in the same function.

Solution:

Simply, you can change the duplicated parameter names to different ones.

FUNCTION int BitBlt(ulong hDC1, int num1, int num2, int num3, int num4, ulong hDC2, int num5, int num6, ulong lParam) LIBRARY "Gdi32.dll"

(1 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 

Please login if you wish to leave a comment about this article.

Help Desk Software by Kayako Fusion