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
Sun, Jul 26, 9:55 PM (3 h, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/68/d947d2d7a982276de44cb7137f44

Event Timeline