GetHostName?
I'm having difficulty with the GetHostName call from the SDK.
Has anyone gotten it to work. I either get nothing or compiler errors due to
misuse.
Here is the GetHostName section from the controlsurface,idl file
---------------------------------------------------------------------------------------------
// obtain the host name
HRESULT GetHostName(
[out] LPSTR pszHostName, // if NULL, just retrieves required buf len
[in, out] DWORD* pdwLen
);
--------------------------------------------------------------------------------------------------
Thanks in advance!
:Ron