windows-nt/Source/XPSP1/NT/base/pnp/tools/devcon2/devinfoset.cpp

17 lines
341 B
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// DevInfoSet.cpp : Implementation of CDevCon2App and DLL registration.
#include "stdafx.h"
#include "DevCon2.h"
#include "DevInfoSet.h"
/////////////////////////////////////////////////////////////////////////////
//
STDMETHODIMP CDevInfoSet::get_Handle(ULONGLONG *pVal)
{
HDEVINFO h = Handle();
*pVal = (ULONGLONG)h;
return S_OK;
}