IFWXSession::GetClientMachineName method
Applies to: desktop apps only
The GetClientMachineName method retrieves the name of the client computer, if it is available. The Forefront TMG Client or Firewall Client computer passes the computer name in the request. The name is not available for SecureNAT clients.
Syntax
HRESULT GetClientMachineName(
[out] 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 value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010