AfxGetInternetHandleType

DWORD AFXAPI AfxGetInternetHandleType( HINTERNET hQuery );

Return Value

Any of the Internet service types defined by WININET.H. See the Remarks section for a list of these Internet services. If the handle is NULL or not recognized, the function returns AFX_INET_SERVICE_UNK.

Parameters

hQuery

A handle to an Internet query.

Remarks

Use this global function to determine the type of an Internet handle.

The following list includes possible Internet types returned by AfxGetInternetHandleType.

Note   In order to call this function, your project must include AFXINET.H.

See Also   AfxParseURL