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( [out] LPSTR* pszMachineName );
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.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.