🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

createfile ("USB")

#10937
From: ray
Date: Fri, 05 Mar 2004 23:53
15 lines
1494 bytes
i want to use create file to open usb port.
HANDLE CreateFile(
  LPCTSTR lpFileName,          // pointer to name of the file
  DWORD dwDesiredAccess,       // access (read-write) mode
  DWORD dwShareMode,           // share mode
  LPSECURITY_ATTRIBUTES lpSecurityAttributes,
                               // pointer to security attributes
  DWORD dwCreationDisposition,  // how to create
  DWORD dwFlagsAndAttributes,  // file attributes
  HANDLE hTemplateFile         // handle to file with attributes to
                               // copy
);

but what is the lpFileName in this case?
(where can i check the name?)
Technical Details
Message-ID: <404912f0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,fdbc115acd722a61,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-05 16:09:49 PST
Reply-To: "ray" <srayray@hotmail.com>
From: "ray" <srayray@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: createfile ("USB")
Date: Sat, 6 Mar 2004 07:53:22 +0800
Lines: 17
Organization: ray
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 203.176.196.209
Message-ID: <404912f0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078530800 203.176.196.209 (5 Mar 2004 15:53:20 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail