Microsoft Internet Security and Acceleration Server 2000

IFWXSession::GetClientMachineName Method

Gets the name of the client computer, if it is available. The Firewall client DLL passes the computer name in the request. The name is not available for SecureNAT clients.

HRESULT GetClientMachineName(
  LPSTR *pszMachineName
);

Parameters

pszMachineName
[out] Address of a buffer that receives a pointer to the requested computer name string. The caller must free the pszMachineName buffer by using the CoTaskMemFree function.