Export (0) Print
Expand All
Expand Minimize

GopherAttributeEnumerator callback function

[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.

Syntax


BOOL GopherAttributeEnumerator(
  LPGOPHER_ATTRIBUTE_TYPE lpAttributeInfo,
  DWORD dwError
);

Parameters

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 value

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.

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

End of client support

Windows XP

End of server support

Windows Server 2003 R2

Header

Wininet.h

See also

WinINet Functions

 

 

Show:
© 2014 Microsoft