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
Wed, Jan 7, 1:49 PM (8 h, 3 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
16/63/7adcd52e1045eb536bae315ee720

Event Timeline