Mercurial > games > semicongine
diff fuhtark_test/include/winapi/wiadevd.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fuhtark_test/include/winapi/wiadevd.h Wed Nov 26 21:36:48 2025 +0700 @@ -0,0 +1,54 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the w64 mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within this package. + */ +#ifndef _WIADEVD_H_INCLUDED +#define _WIADEVD_H_INCLUDED + +#include "wia.h" + +#if defined(__cplusplus) +extern "C" { +#endif + +#include <pshpack8.h> + + typedef struct tagDEVICEDIALOGDATA { + DWORD cbSize; + HWND hwndParent; + IWiaItem *pIWiaItemRoot; + DWORD dwFlags; + LONG lIntent; + LONG lItemCount; + IWiaItem **ppWiaItems; + } DEVICEDIALOGDATA,*LPDEVICEDIALOGDATA,*PDEVICEDIALOGDATA; + + HRESULT WINAPI DeviceDialog(PDEVICEDIALOGDATA pDeviceDialogData); + +#undef INTERFACE +#define INTERFACE IWiaUIExtension + DECLARE_INTERFACE_(IWiaUIExtension,IUnknown) { + STDMETHOD(QueryInterface) (THIS_ REFIID riid,LPVOID *ppvObj) PURE; + STDMETHOD_(ULONG,AddRef) (THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD(DeviceDialog)(THIS_ PDEVICEDIALOGDATA pDeviceDialogData) PURE; + STDMETHOD(GetDeviceIcon)(THIS_ BSTR bstrDeviceId,HICON *phIcon,ULONG nSize) PURE; + STDMETHOD(GetDeviceBitmapLogo)(THIS_ BSTR bstrDeviceId,HBITMAP *phBitmap,ULONG nMaxWidth,ULONG nMaxHeight) PURE; + }; + + DEFINE_GUID(IID_IWiaUIExtension,0xDA319113,0x50EE,0x4C80,0xB4,0x60,0x57,0xD0,0x05,0xD4,0x4A,0x2C); + + typedef HRESULT (WINAPI *DeviceDialogFunction)(PDEVICEDIALOGDATA); + +#define SHELLEX_WIAUIEXTENSION_NAME TEXT("WiaDialogExtensionHandlers") + +#define CFSTR_WIAITEMNAMES TEXT("WIAItemNames") +#define CFSTR_WIAITEMPTR TEXT("WIAItemPointer") + +#include <poppack.h> + +#if defined(__cplusplus) +}; +#endif +#endif
