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
Fri, Apr 3, 6:12 PM (1 d, 14 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8c/1e/b74bb2a9d758c081128fd29a5fcb

Event Timeline