🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10161

Re: DWORD GetFileAttributes(LPCTSTR lpFileName)

#10161
From: Andrue Cope
Date: Thu, 20 May 2004 08:22
14 lines
1366 bytes
On 20 May 2004 00:16:15 -0700, G wrote:

> I'm wondering what is the usage of GetFileAttributes?
> What does it returned?

It returns the file's attributes as a DWORD. If you have the help installed
you can look it up in there. If not look it up on Google :)

Basically the DWORD contains bits which have individual meanings. If the
file is read-only and compressed then the value returned will be the result
of FILE_ATTRIBUTE_COMPRESSED ORed with FILE_ATTRIBUTE_READONLY.
-- 
Andrue Cope
[Bicester UK]
Technical Details
Message-ID: <19me3jl2kspwz.y51t9wi596od$.dlg@40tude.net>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ac5b3f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,97a139e870e0dbd9
X-Google-Attributes: gid10cc67,public
From: Andrue Cope <no.spam@spammy.com>
Subject: Re: DWORD GetFileAttributes(LPCTSTR lpFileName)
Newsgroups: borland.public.cppbuilder.nativeapi
User-Agent: 40tude_Dialog/2.0.10.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <40ac5b3f$1@newsgroups.borland.com>
Date: Thu, 20 May 2004 09:22:47 +0100
Message-ID: <19me3jl2kspwz.y51t9wi596od$.dlg@40tude.net>
NNTP-Posting-Host: 217.207.223.34
X-Trace: newsgroups.borland.com 1085041444 217.207.223.34 (20 May 2004 01:24:04 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail