source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/napcommon.idl@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.3 KB
RevLine 
[1166]1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6import "naptypes.idl";
7import "unknwn.idl";
8
9cpp_quote("#include <winapifamily.h>")
10cpp_quote("")
11cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
12
13[object, uuid (a9e0af1a-3713-478e-ae03-8edd272d21fa), pointer_default (unique)]
14interface INapComponentConfig : IUnknown {
15 HRESULT IsUISupported ([out] BOOL *isSupported);
16 HRESULT InvokeUI ([in, unique] HWND hwndParent);
17 HRESULT GetConfig ([out] UINT16 *bCount,[out, size_is (,*bCount)] BYTE **data);
18 HRESULT SetConfig ([in] UINT16 bCount,[in, size_is (bCount)] BYTE *data);
19};
20
21[object, uuid (b475f925-e3f7-414c-8c72-1cee64b9d8f6), pointer_default (unique)]
22interface INapComponentInfo : IUnknown {
23 HRESULT GetFriendlyName ([out] MessageId *friendlyName);
24 HRESULT GetDescription ([out] MessageId *description);
25 HRESULT GetVendorName ([out] MessageId *vendorName);
26 HRESULT GetVersion ([out] MessageId *version);
27 HRESULT GetIcon ([out] CountedString **dllFilePath,[out] UINT32 *iconResourceId);
28 HRESULT ConvertErrorCodeToMessageId ([in] HRESULT errorCode,[out] MessageId *msgId);
29 HRESULT GetLocalizedString ([in] MessageId msgId,[out] CountedString **string);
30};
31
32[object, uuid (47cbdb9e-1972-4f5e-bd3c-5eb6230614b5), pointer_default (unique)]
33interface INapComponentConfig2 : INapComponentConfig {
34 HRESULT IsRemoteConfigSupported ([out] BOOL *isSupported,[out] UINT8 *remoteConfigType);
35 HRESULT InvokeUIForMachine ([in, unique] HWND hwndParent,[in, unique] CountedString *machineName);
36 HRESULT InvokeUIFromConfigBlob ([in, unique] HWND hwndParent,[in] UINT16 inbCount,[in, size_is (inbCount)] BYTE *inData,[out] UINT16 *outbCount,[out, size_is (,*outbCount)] BYTE **outdata,[out] BOOL *fConfigChanged);
37};
38
39[object, uuid (9c4a8101-8cfe-4332-876e-C4A49D1D3F77), pointer_default (unique)]
40interface INapComponentConfig3 : INapComponentConfig2 {
41 HRESULT NewConfig (UINT32 configID);
42 HRESULT DeleteConfig (UINT32 configID);
43 HRESULT DeleteAllConfig ();
44 HRESULT GetConfigFromID ([in] UINT32 configID,[out] UINT16 *count,[out, size_is (,*count)]BYTE **outdata);
45 HRESULT SetConfigToID ([in] UINT32 configID,[in] UINT16 count,[in, size_is (count)]BYTE *data);
46};
47cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.