Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 3.72 KB

nf-wininet-gophergetlocatortypew.md

File metadata and controls

92 lines (70 loc) · 3.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wininet.GopherGetLocatorTypeW
GopherGetLocatorTypeW function (wininet.h)
Parses a Gopher locator and determines its attributes. (Unicode)
GopherGetLocatorType
GopherGetLocatorType function [WinINet]
GopherGetLocatorTypeW
_inet_gophergetlocatortype_function
wininet.gophergetlocatortype
wininet/GopherGetLocatorType
wininet/GopherGetLocatorTypeW
wininet\gophergetlocatortype.htm
wininet
e6f0ef67-c411-43ff-a477-5a8635057f2c
12/05/2018
GopherGetLocatorType, GopherGetLocatorType function [WinINet], GopherGetLocatorTypeA, GopherGetLocatorTypeW, _inet_gophergetlocatortype_function, wininet.gophergetlocatortype, wininet/GopherGetLocatorType, wininet/GopherGetLocatorTypeA, wininet/GopherGetLocatorTypeW
wininet.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
GopherGetLocatorTypeW (Unicode) and GopherGetLocatorTypeA (ANSI)
Wininet.lib
Wininet.dll
Windows
19H1
GopherGetLocatorTypeW
wininet/GopherGetLocatorTypeW
c++
APIRef
kbSyntax
DllExport
Wininet.dll
GopherGetLocatorType
GopherGetLocatorTypeA
GopherGetLocatorTypeW

GopherGetLocatorTypeW function

-description

[The GopherGetLocatorType function is available for use in the operating systems specified in the Requirements section.]

Parses a Gopher locator and determines its attributes.

-parameters

-param lpszLocator [in]

Pointer to a null-terminated string that specifies the Gopher locator to be parsed.

-param lpdwGopherType [out]

Pointer to a variable that receives the type of the locator. The type is a bitmask that consists of a combination of the gopher type values.

-returns

Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.

-remarks

GopherGetLocatorType returns information about the item referenced by a Gopher locator. Note that it is possible for multiple attributes to be set on a file. For example, both GOPHER_TYPE_TEXT_FILE and GOPHER_TYPE_GOPHER_PLUS are set for a text file stored on a Gopher+ server.

Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.

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

Note

The wininet.h header defines GopherGetLocatorType as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

WinINet Functions