Jump to content
Sign in to follow this  
jrsofsd

_WinAPI_FormatMessage() - useless line of code?

Recommended Posts

jrsofsd

The function _WinAPI_FormatMessage() in the include file WinAPI.au3 appears to have an unused line of code:

    If $sBufferType = "wstr" Then $pBuffer = $aResult[5]

 

Share this post


Link to post
Share on other sites
Tekk

Looks used to me, notice that $pBuffer is a ref.

Share this post


Link to post
Share on other sites
jrsofsd

Ah, of course. Thanks :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×