Using:
TCC 16.03.55 x64 Windows 8.1 [Version 6.3.9600]
TCC Build 55 Windows 8.1 Build 9600
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724435(v=vs.85).aspx
The following call should return the full user name.
GetUserNameEx(3) is implemented in Secur32.dll
Works with the following python code:
Using @WINAPI[] however, I fail to get the desired string.
I have studied the docs but and tried as many variants as I could think of but none of them work.
Also, I must admit, I fail to fully understand the syntax of the "BUFFER thingy". When to use and how to use it.
I would appreciate some clarification.
Regards, DJ
TCC 16.03.55 x64 Windows 8.1 [Version 6.3.9600]
TCC Build 55 Windows 8.1 Build 9600
See also
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724435(v=vs.85).aspx
The following call should return the full user name.
GetUserNameEx(3) is implemented in Secur32.dll
Works with the following python code:
Code:
>>> import win32api
>>> print(win32api.GetUserNameEx(3))
Using @WINAPI[] however, I fail to get the desired string.
I have studied the docs but and tried as many variants as I could think of but none of them work.
Also, I must admit, I fail to fully understand the syntax of the "BUFFER thingy". When to use and how to use it.
I would appreciate some clarification.
Regards, DJ