Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Portable/pmp_wifi/modelInfo.h
2024-09-24 14:54:57 +02:00

23 lines
663 B
C

#pragma once
typedef struct ModelInfo
{
const wchar_t *name;
const wchar_t *displayName;
const wchar_t *smallIcon;
const wchar_t *largeIcon;
} ModelInfo;
const ModelInfo *GetDefaultModelInfo();
const ModelInfo *FindModelInfo(const wchar_t *manufacturer, const wchar_t *model, BOOL allowDefault);
/* helpers*/
HRESULT ModelInfo_CopyDisplayName(const ModelInfo *modelInfo, wchar_t *buffer, size_t bufferMax);
const wchar_t *ModelInfo_GetIconName(const ModelInfo *modelInfo, int width, int height, BOOL allowDefault);
HRESULT ModelInfo_GetIconPath(const ModelInfo *modelInfo, int width, int height, wchar_t *buffer, size_t bufferMax, BOOL allowDefault);