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
Tue, Jul 28, 2:08 AM (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/68/d947d2d7a982276de44cb7137f44

Event Timeline