---
name: "GopherFindFirstFileA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GopherFindFirstFileA"
---

# GopherFindFirstFileA(3w)

## NAME

**GopherFindFirstFileA** (WININET.@)

## SYNOPSIS

HINTERNET GopherFindFirstFileA\
  (\
   HINTERNET           *hConnect*,\
   LPCSTR              *lpszLocator*,\
   LPCSTR              *lpszSearchString*,\
   LPGOPHER\_FIND\_DATAA *lpFindData*,\
   DWORD               *dwFlags*,\
   DWORD\_PTR           *dwContext*\
  )

## DESCRIPTION

Create a session and locate the requested documents.

## PARAMS

*hConnect* **\[In\]**  Handle to a Gopher session returned by InternetConnect.

*lpszLocator* **\[In\]**  **-** address of a string containing the name of the item to locate.

**-** Locator created by the GopherCreateLocator function.

*lpszSearchString* **\[In\]**  what to search for if this request is to an index server.

Otherwise, this parameter should be **NULL**.

*lpFindData* **\[Out\]**  retrieved information.

*dwFlags* **\[In\]**  INTERNET\_FLAG\_{HYPERLINK, **NEED\_FILE**, **NO\_CACHE\_WRITE**, **RELOAD**, RESYNCHRONIZE}.

*dwContext* **\[In\]**  application private value.

## RETURNS

**HINTERNET** handle on success **NULL** on error

## IMPLEMENTATION

Declared in **"wininet.h"**.

Implemented in **"dlls/wininet/gopher.c"**.

Debug channel **"wininet"**.
