Page MenuHomedesp's stash

DeviceNameResolver.h
No OneTemporary

DeviceNameResolver.h

#include <Windows.h>
#pragma once
#include <Windows.h>
#include <vector>
#include <tchar.h>
class HardDisk {
public:
WCHAR shortName[3];
WCHAR longName[MAX_PATH];
size_t longNameLength;
};
class DeviceNameResolver
{
public:
DeviceNameResolver();
~DeviceNameResolver();
bool resolveDeviceLongNameToShort( WCHAR * sourcePath, WCHAR * targetPath );
private:
std::vector<HardDisk> deviceNameList;
void initDeviceNameList();
};

File Metadata

Mime Type
text/x-c++
Expires
Mon, Feb 9, 10:12 PM (12 h, 32 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c8/e3/358e53b2a66cd7f9eb32a85ccf45

Event Timeline