title: Error while installing Windows sample port monitor localmon
body: <p>I am trying to install windows sample port monitor(localmon) provided in WDK. But I keep getting error while installing it: </p>
  
  <blockquote>
    <p>An error occurred while installing port monitor 'DDK sample port monitor'. Please contact manufacturer for assistance.</p>
  </blockquote>
  
  <p>I am using following instructions to install it:-</p>
  
  <blockquote>
    <p>Open 'Devices and printers' folder. Right click on my targeted printer and choose 'printer properties'. Click the 'Ports' tab, and then click the 'Add Port...' button. On the Printer Ports dialog, click the 'New Port Type...' button. Type the path to the INF file in the text input box, and then click OK.</p>
  </blockquote>
  
  <p>I am using windows 7, 64-bit version. Following is my INF file.</p>
  
  <pre><code>; monitor.inf
  ;
  ; Installation inf for printer port monitor
  ;
  ; (c) Copyright 2001-2003 DDK Example for print monitor installation
  ;
  
  [Version]
  Signature="$Windows NT$"
  Provider=%PMProducer%
  ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
  Class=Printer
  
  [PortMonitors]
  "DDK Sample Port Monitor" = sampleportmon
  
  [sampleportmon]
  CopyFiles=@ddklocalmon.dll, @ddklocalui.dll
  PortMonitorDll=ddklocalmon.dll
  
  [SourceDisksFiles]
  ddklocalmon.dll=1,,
  ddklocalui.dll=1,,
  
  [SourceDisksNames]
  1="Sample Port Monitor Installation Disk",,,
  
  [Strings]
  PMProducer="Sample Port Monitor Company, Inc."
  </code></pre>
  
  <p>Can somebody help me here ? </p>
  
  <p>Thanks a lot !!</p>