Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Issue 6813079: Make the virtual driver self registering. (Closed)

Created:
9 years, 8 months ago by Albert Bodenhamer
Modified:
9 years, 7 months ago
Reviewers:
sanjeevr
CC:
chromium-reviews
Visibility:
Public.

Description

Make the virtual driver self registering. BUG= TEST=Copy the DLL to c:\windows\system32 and attempt to register and unregister. Both should succeed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81505

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use Atl instead of WIN32 for converting err to HRESULT #

Patch Set 3 : Switch back to GetLastError and macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M cloud_print/virtual_driver/win/port_monitor/port_monitor.cc View 1 2 2 chunks +42 lines, -0 lines 0 comments Download
M cloud_print/virtual_driver/win/port_monitor/port_monitor.def View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Albert Bodenhamer
9 years, 8 months ago (2011-04-11 17:04:11 UTC) #1
sanjeevr
http://codereview.chromium.org/6813079/diff/1/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc File cloud_print/virtual_driver/win/port_monitor/port_monitor.cc (right): http://codereview.chromium.org/6813079/diff/1/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc#newcode644 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc:644: return E_UNEXPECTED; return AtlHResultFromLastError (or its equivalent) here. http://codereview.chromium.org/6813079/diff/1/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc#newcode656 ...
9 years, 8 months ago (2011-04-13 16:21:21 UTC) #2
Albert Bodenhamer
http://codereview.chromium.org/6813079/diff/1/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc File cloud_print/virtual_driver/win/port_monitor/port_monitor.cc (right): http://codereview.chromium.org/6813079/diff/1/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc#newcode644 cloud_print/virtual_driver/win/port_monitor/port_monitor.cc:644: return E_UNEXPECTED; On 2011/04/13 16:21:21, sanjeevr wrote: > return ...
9 years, 8 months ago (2011-04-13 18:30:38 UTC) #3
Albert Bodenhamer
There isn't a consensus on how to get the last windows error and return an ...
9 years, 8 months ago (2011-04-13 21:33:44 UTC) #4
Albert Bodenhamer
9 years, 8 months ago (2011-04-13 21:33:54 UTC) #5
sanjeevr
9 years, 8 months ago (2011-04-13 23:30:10 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698