CDnsClient::GetHandle
HCLIENT GetHandle();

The GetHandle method returns the client handle associated with the current instance of the class.

Return Value

This method returns the client handle associated with the current instance of the class object. If there is no active client session, the value INVALID_CLIENT will be returned.

Remarks

This method is used to obtain the client handle created by the class for use with the SocketTools API.

Requirements

Client: Requires Windows Vista, Windows XP or Windows 2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csdnsav6.lib.

See Also

AttachHandle, DetachHandle, IsInitialized


Copyright © 2008 Catalyst Development Corporation. All rights reserved.