title: GetLogicalDrives() for loop
body: <p>I am new to the win32 api and need help trying to understand how the GetLogicalDrives() function works. I am trying to populate a cbs_dropdownlist with all the available drives that are not in use. here is what I have so far. I would appreciate any help.</p>
  
  <pre><code>void FillListBox(HWND hWndDropMenu)
  {
   DWORD drives = GetLogicalDrives();
   for (int i=0; i&lt;26; i++)
   {
      SendMessage(hWndDropMenu, CB_ADDSTRING, 0, (LPARAM)drives);
   }
  }
  </code></pre>