Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXSession::GetClientMachineName

The GetClientMachineName method retrieves the name of the client computer, if it is available. The Firewall client 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 a pointer to a buffer that receives the requested computer name string. The caller must free the pszMachineName buffer by using the CoTaskMemFree function.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXSession