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
2bbc7941
Commit
2bbc7941
authored
Mar 14, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
Mar 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix function definitions for msvc build.
parent
148f6421
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
npapi.h
include/npapi.h
+24
-24
No files found.
include/npapi.h
View file @
2bbc7941
...
...
@@ -52,43 +52,43 @@
#define WNNC_START 0x0000000c
#define WNNC_WAIT_FOR_START 0x00000001
typedef
DWORD
APIENTRY
(
*
PF_NPGetCaps
)(
DWORD
ndex
);
typedef
DWORD
(
APIENTRY
*
PF_NPGetCaps
)(
DWORD
ndex
);
/* get user */
typedef
DWORD
APIENTRY
(
*
PF_NPGetUser
)(
LPWSTR
lpName
,
LPWSTR
lpUserName
,
typedef
DWORD
(
APIENTRY
*
PF_NPGetUser
)(
LPWSTR
lpName
,
LPWSTR
lpUserName
,
LPDWORD
lpnBufferLen
);
/* enumeration-related */
typedef
DWORD
APIENTRY
(
*
PF_NPOpenEnum
)(
DWORD
dwScope
,
DWORD
dwType
,
DWORD
dwUsage
,
typedef
DWORD
(
APIENTRY
*
PF_NPOpenEnum
)(
DWORD
dwScope
,
DWORD
dwType
,
DWORD
dwUsage
,
LPNETRESOURCEW
lpNetResource
,
LPHANDLE
lphEnum
);
typedef
DWORD
APIENTRY
(
*
PF_NPEnumResource
)(
HANDLE
hEnum
,
LPDWORD
lpcCount
,
typedef
DWORD
(
APIENTRY
*
PF_NPEnumResource
)(
HANDLE
hEnum
,
LPDWORD
lpcCount
,
LPVOID
lpBuffer
,
LPDWORD
lpBufferSize
);
typedef
DWORD
APIENTRY
(
*
PF_NPCloseEnum
)(
HANDLE
hEnum
);
typedef
DWORD
(
APIENTRY
*
PF_NPCloseEnum
)(
HANDLE
hEnum
);
/* connection-related */
typedef
DWORD
APIENTRY
(
*
PF_NPAddConnection
)(
LPNETRESOURCEW
lpNetResource
,
typedef
DWORD
(
APIENTRY
*
PF_NPAddConnection
)(
LPNETRESOURCEW
lpNetResource
,
LPWSTR
lpPassword
,
LPWSTR
lpUserName
);
typedef
DWORD
APIENTRY
(
*
PF_NPAddConnection3
)(
HWND
hwndOwner
,
typedef
DWORD
(
APIENTRY
*
PF_NPAddConnection3
)(
HWND
hwndOwner
,
LPNETRESOURCEW
lpNetResource
,
LPWSTR
lpPassword
,
LPWSTR
lpUserName
,
DWORD
dwFlags
);
typedef
DWORD
APIENTRY
(
*
PF_NPCancelConnection
)(
LPWSTR
lpName
,
BOOL
fForce
);
typedef
DWORD
APIENTRY
(
*
PF_NPGetConnection
)(
LPWSTR
lpLocalName
,
typedef
DWORD
(
APIENTRY
*
PF_NPCancelConnection
)(
LPWSTR
lpName
,
BOOL
fForce
);
typedef
DWORD
(
APIENTRY
*
PF_NPGetConnection
)(
LPWSTR
lpLocalName
,
LPWSTR
lpRemoteName
,
LPDWORD
lpnBufferLen
);
/* network name manipulation */
typedef
DWORD
APIENTRY
(
*
PF_NPGetUniversalName
)(
LPWSTR
lpLocalPath
,
typedef
DWORD
(
APIENTRY
*
PF_NPGetUniversalName
)(
LPWSTR
lpLocalPath
,
DWORD
dwInfoLevel
,
LPVOID
lpBuffer
,
LPDWORD
lpnBufferSize
);
typedef
DWORD
APIENTRY
(
*
PF_NPFormatNetworkName
)(
LPWSTR
lpRemoteName
,
typedef
DWORD
(
APIENTRY
*
PF_NPFormatNetworkName
)(
LPWSTR
lpRemoteName
,
LPWSTR
lpFormattedName
,
LPDWORD
lpnLength
,
DWORD
dwFlags
,
DWORD
dwAveCharPerLine
);
/* dialogs */
typedef
DWORD
APIENTRY
(
*
PF_NPDeviceMode
)(
HWND
hParent
);
typedef
DWORD
(
APIENTRY
*
PF_NPDeviceMode
)(
HWND
hParent
);
/* search dialog */
#define WNSRCH_REFRESH_FIRST_LEVEL 0x00000001
typedef
DWORD
APIENTRY
(
*
PF_NPSearchDialog
)(
HWND
hwndParent
,
typedef
DWORD
(
APIENTRY
*
PF_NPSearchDialog
)(
HWND
hwndParent
,
LPNETRESOURCEW
lpNetResource
,
LPVOID
lpBuffer
,
DWORD
cbBuffer
,
LPDWORD
lpnFlags
);
...
...
@@ -103,10 +103,10 @@ typedef DWORD APIENTRY (*PF_NPSearchDialog)(HWND hwndParent,
#define WNPS_DIR 1
#define WNPS_MULT 2
typedef
DWORD
APIENTRY
(
*
PF_NPGetPropertyText
)(
DWORD
iButton
,
DWORD
nPropSel
,
typedef
DWORD
(
APIENTRY
*
PF_NPGetPropertyText
)(
DWORD
iButton
,
DWORD
nPropSel
,
LPWSTR
lpName
,
LPWSTR
lpButtonName
,
DWORD
nButtonNameLen
,
DWORD
nType
);
typedef
DWORD
APIENTRY
(
*
PF_NPPropertyDialog
)(
HWND
hwndParent
,
DWORD
iButtonDlg
,
typedef
DWORD
(
APIENTRY
*
PF_NPPropertyDialog
)(
HWND
hwndParent
,
DWORD
iButtonDlg
,
DWORD
nPropSel
,
LPWSTR
lpFileName
,
DWORD
nType
);
/* admin */
...
...
@@ -117,9 +117,9 @@ typedef DWORD APIENTRY (*PF_NPPropertyDialog)(HWND hwndParent, DWORD iButtonDlg,
#define WNDN_RMDIR 2
#define WNDN_MVDIR 3
typedef
DWORD
APIENTRY
(
*
PF_NPGetDirectoryType
)(
LPWSTR
lpName
,
LPINT
lpType
,
typedef
DWORD
(
APIENTRY
*
PF_NPGetDirectoryType
)(
LPWSTR
lpName
,
LPINT
lpType
,
BOOL
bFlushCache
);
typedef
DWORD
APIENTRY
(
*
PF_NPDirectoryNotify
)(
HWND
hwnd
,
LPWSTR
lpDir
,
typedef
DWORD
(
APIENTRY
*
PF_NPDirectoryNotify
)(
HWND
hwnd
,
LPWSTR
lpDir
,
DWORD
dwOper
);
/* permission editor dialogs */
...
...
@@ -127,16 +127,16 @@ typedef DWORD APIENTRY (*PF_NPDirectoryNotify)(HWND hwnd, LPWSTR lpDir,
#define WNPERMC_AUDIT 0x00000002
#define WNPERMC_OWNER 0x00000004
typedef
DWORD
APIENTRY
(
*
PF_NPFMXGetPermCaps
)(
LPWSTR
lpDriveName
);
typedef
DWORD
(
APIENTRY
*
PF_NPFMXGetPermCaps
)(
LPWSTR
lpDriveName
);
#define WNPERM_DLG_PERM 0
#define WNPERM_DLG_AUDIT 1
#define WNPERM_DLG_OWNER 2
typedef
DWORD
APIENTRY
(
*
PF_NPFMXEditPerm
)(
LPWSTR
lpDriveName
,
HWND
hwndFMX
,
typedef
DWORD
(
APIENTRY
*
PF_NPFMXEditPerm
)(
LPWSTR
lpDriveName
,
HWND
hwndFMX
,
DWORD
nDialogType
);
typedef
DWORD
APIENTRY
(
*
PF_NPFMXGetPermHelp
)(
LPWSTR
lpDriveName
,
typedef
DWORD
(
APIENTRY
*
PF_NPFMXGetPermHelp
)(
LPWSTR
lpDriveName
,
DWORD
nDialogType
,
BOOL
fDirectory
,
LPVOID
lpFileNameBuffer
,
LPDWORD
lpBufferSize
,
LPDWORD
lpnHelpContext
);
...
...
@@ -154,11 +154,11 @@ VOID WINAPI WNetSetLastErrorW(DWORD err, LPWSTR lpError, LPWSTR lpProviders);
#define WN_NT_PASSWORD_CHANGED 0x00000002
/* notifications */
typedef
DWORD
APIENTRY
(
*
PF_NPLogonNotify
)(
PLUID
lpLogonId
,
typedef
DWORD
(
APIENTRY
*
PF_NPLogonNotify
)(
PLUID
lpLogonId
,
LPCWSTR
lpAuthentInfoType
,
LPVOID
lpAuthentInfo
,
LPCWSTR
lpPreviousAuthentInfoType
,
LPVOID
lpPreviousAuthentInfo
,
LPWSTR
lpStationName
,
LPVOID
StationHandle
,
LPWSTR
*
lpLogonScript
);
typedef
DWORD
APIENTRY
(
*
PF_NPPasswordChangeNotify
)(
LPCWSTR
lpAuthentInfoType
,
typedef
DWORD
(
APIENTRY
*
PF_NPPasswordChangeNotify
)(
LPCWSTR
lpAuthentInfoType
,
LPVOID
lpAuthentInfo
,
LPCWSTR
lpPreviousAuthentInfoType
,
LPVOID
lpPreviousAuthentInfo
,
LPWSTR
lpStationName
,
LPVOID
StationHandle
,
DWORD
dwChangeInfo
);
...
...
@@ -195,9 +195,9 @@ typedef struct _NOTIFYCANCEL
BOOL
fForce
;
}
NOTIFYCANCEL
,
*
LPNOTIFYCANCEL
;
typedef
DWORD
APIENTRY
(
*
PF_AddConnectNotify
)(
LPNOTIFYINFO
lpNotifyInfo
,
typedef
DWORD
(
APIENTRY
*
PF_AddConnectNotify
)(
LPNOTIFYINFO
lpNotifyInfo
,
LPNOTIFYADD
lpAddInfo
);
typedef
DWORD
APIENTRY
(
*
PF_CancelConnectNotify
)(
LPNOTIFYINFO
lpNotifyInfo
,
typedef
DWORD
(
APIENTRY
*
PF_CancelConnectNotify
)(
LPNOTIFYINFO
lpNotifyInfo
,
LPNOTIFYADD
lpAddInfo
);
#endif
/* ndef __WINE_NPAPI_H__ */
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