Find Jobs
Hire Freelancers

C++ Function: List Drive Letters

$30-100 USD

Anulowano
Opublikowano prawie 17 lat temu

$30-100 USD

Płatne przy odbiorze
Write a C++ DLL function to list all the drive letters that are mounted to the same removable device. **Hints:** Everything you need to complete this project is in this Code Project sample: <[login to view URL]> **int GetSameDeviceLetters(WCHAR drv_letter, PWCHAR result_letters);** **Description: **Find all drive letters that are mounted to the same removable device as drv_letter. Save the result in result_letters. Return the number of drive letters saved in the result_letters parameter. result_letters is guaranteed to be at least 52 bytes (26 WCHARs). **Hints: **The Code Project sample above has everything you need to complete this project. The [login to view URL] values are the same for volumes that belong to the same removable device. Here's how to get the InstanceHandle in the Code Project sample. <[login to view URL]> **Example: **As shown in the "Safely Remove Hardware" window below, G: & F: belong to the same USB Mass Storage Device. I: & H: belong to another USB Mass Storage Device. ![][1] Example 1: WCHAR result_letters[26]; int num = GetSameDeviceLetters(L'G', result_letters); After run: num = 2, result_letters = "GF" Example 2: int num = GetSameDeviceLetters(L'F', result_letters); After run: num = 2, result_letters = "GF" Example 3: int num = GetSameDeviceLetters(L'I', result_letters); After run: num = 2, result_letters = "HI" Example 4: int num = GetSameDeviceLetters(L'H', result_letters); After run: num = 2, result_letters = "HI" ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows 2000 or above C++ VS2005 a test program shoould be provided to show the dll works as specified
Identyfikator projektu: 2952946

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 17 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
4 freelancerzy składają oferty o średniej wysokości $31 USD dla tej pracy
Awatar Użytkownika
See private message.
$42,50 USD w 3 dni
4,9 (119 opinii)
6,5
6,5
Awatar Użytkownika
See private message.
$34 USD w 3 dni
5,0 (1 opinia)
1,9
1,9
Awatar Użytkownika
See private message.
$25,50 USD w 3 dni
5,0 (8 opinii)
1,6
1,6
Awatar Użytkownika
See private message.
$21,25 USD w 3 dni
0,0 (1 opinia)
0,0
0,0

O kliencie

Flaga HONG KONG
Hong Kong
5,0
23
Członek od lis 20, 2003

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.