Article View: borland.public.cppbuilder.nativeapi
Article #17098Re: WIN32_FIND_DATA
From: Phil V
Date: Wed, 09 Apr 2003 08:02
Date: Wed, 09 Apr 2003 08:02
26 lines
1568 bytes
1568 bytes
Remy,
What does the '= {0}' do when declaring the WIN32_FIND_DATA ? Is it filling
the structure with 0's ?
Phil
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3e92f56f$1@newsgroups.borland.com...
>
> "Phil V"
<pvalentine_REMOVE_THIS_@_REMOVE_THIS_continental-microwave.co.uk>
> wrote in message news:3e92e1ac@newsgroups.borland.com...
> > How do I create the WIN32_FIND_DATA structure
> > to pass to FindFirstFile?
> >
> > And how do i pass it?
>
> WIN32_FIND_DATA fd = {0};
> HANDLE hFind = FindFirstFile("some mask", &fd);
> ...
>
>
> Gambit
>
>
Technical Details
Message-ID:
<3e93d47e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e92e1ac@newsgroups.borland.com> <3e92f56f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fd6b646fea84b2a5 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-09 01:17:58 PST From: "Phil V" <pvalentine_REMOVE_THIS_@_REMOVE_THIS_continental-microwave.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e92e1ac@newsgroups.borland.com> <3e92f56f$1@newsgroups.borland.com> Subject: Re: WIN32_FIND_DATA Date: Wed, 9 Apr 2003 09:02:48 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 212.159.105.214 Message-ID: <3e93d47e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049875582 212.159.105.214 (9 Apr 2003 01:06:22 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail