2

call to UrlMkGetSessionOption

However, it correctly fills up return string buffer(char*) for UserAgent String. URLMon.dll version : 11.0.20161.1000 - 64 bit. Platform Windows 10 64 bit.

hardeep
  • 186
  • 1
  • 7
  • Indeed, I'm encountering the same issue, although the buffer is filled up correctly. Sounds like the return value should be ignored... – Gyum Fox Sep 04 '20 at 15:21

1 Answers1

1

I am using ObtainUserAgentString, which return a char* buffer, and it seems to work for me as of now.

hardeep
  • 186
  • 1
  • 7