GOPHER_ATTRIBUTE_ENUMERATOR callback function (wininet.h)
[The GopherAttributeEnumerator function is available for use in the operating systems specified in the Requirements section.]
Prototype for a callback function that processes attribute information from a Gopher server. This callback function is installed by a call to the GopherGetAttribute function.
The GOPHER_ATTRIBUTE_ENUMERATOR type defines a pointer to this callback function. GopherAttributeEnumerator is a placeholder for the application-defined function name.
GOPHER_ATTRIBUTE_ENUMERATOR GopherAttributeEnumerator;
BOOL GopherAttributeEnumerator(
LPGOPHER_ATTRIBUTE_TYPE lpAttributeInfo,
DWORD dwError
)
{...}
lpAttributeInfo
Pointer to a GOPHER_ATTRIBUTE_TYPE structure. The lpBuffer parameter of GopherGetAttribute is used for storing this structure. The lpBuffer size must be equal to or greater than the value of MIN_GOPHER_ATTRIBUTE_LENGTH.
dwError
Error value. This parameter is NO_ERROR if the attribute was parsed and written to the buffer successfully. If a problem was encountered, an error value is returned.
Return TRUE to continue the enumeration, or FALSE to stop it immediately. This function is primarily used for returning the results of a Gopher+ ASK item.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wininet.h |