Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
734 B

#include "namellst.h"
#include "cmmn.h"
#include "misc.h"
#include <objbase.h>
///////////////////////////////////////////////////////////////////////////////
//
//
///////////////////////////////////////////////////////////////////////////////
class CMtPt : public CNamedElem
{
public:
// CNamedElem
HRESULT Init(LPCWSTR pszElemName);
// CMtPt
HRESULT InitVolume(LPCWSTR pszDeviceIDVolume);
HRESULT GetVolumeName(LPWSTR pszDeviceIDVolume, DWORD cchDeviceIDVolume);
public:
static HRESULT Create(CNamedElem** ppelem);
public:
CMtPt();
~CMtPt();
private:
// Drive that host this volume (might be null, in this case no autoplay)
WCHAR _szDeviceIDVolume[MAX_DEVICEID];
};