Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b6aa3c52
Commit
b6aa3c52
authored
Jul 29, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add Network Address Control defines.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ad589b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
shellapi.h
include/shellapi.h
+24
-0
No files found.
include/shellapi.h
View file @
b6aa3c52
...
...
@@ -497,6 +497,30 @@ HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
#define SHQueryRecycleBin WINELIB_NAME_AW(SHQueryRecycleBin)
/******************************************
* Network Address Control
*/
typedef
struct
tagNC_ADDRESS
{
struct
NET_ADDRESS_INFO_
*
pAddrInfo
;
USHORT
PortNumber
;
BYTE
PrefixLength
;
}
NC_ADDRESS
,
*
PNC_ADDRESS
;
#define NCM_GETADDRESS (WM_USER+1)
#define NCM_SETALLOWTYPE (WM_USER+2)
#define NCM_GETALLOWTYPE (WM_USER+3)
#define NCM_DISPLAYERRORTIP (WM_USER+4)
#define NetAddr_GetAddress(hwnd,addr) \
(HRESULT)SNDMSG(hwnd,NCM_GETADDRESS,0,(LPARAM)addr)
#define NetAddr_SetAllowType(hwnd, mask) \
(HRESULT)SNDMSG(hwnd,NCM_SETALLOWTYPE,(WPARAM)mask,0)
#define NetAddr_GetAllowType(hwnd) \
(DWORD)SNDMSG(hwnd,NCM_GETALLOWTYPE,0,0)
#define NetAddr_DisplayErrorTip(hwnd) \
(HRESULT)SNDMSG(hwnd,NCM_DISPLAYERRORTIP,0,0)
/******************************************
* Misc
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment