2 * MPR - Network provider services
12 * Note: The Unicode variants of all these routines/structures
13 * apparently don't exist, at least not in Win95 ...
16 #define HPROVIDER LPVOID
17 typedef HPROVIDER
*PHPROVIDER
;
32 LPCSTR lpDefaultUserName
;
35 } AUTHDLGSTRUCTA
, *LPAUTHDLGSTRUCTA
;
37 DECL_WINELIB_TYPE_AW(AUTHDLGSTRUCT
)
38 DECL_WINELIB_TYPE_AW(LPAUTHDLGSTRUCT
)
40 #define AUTHDLG_ENABLECACHE 0x00000001
41 #define AUTHDLG_CHECKCACHE 0x00000002
42 #define AUTHDLG_CACHEINVALID 0x00000004
43 #define AUTHDLG_USE_DEFAULT_NAME 0x00000008
44 #define AUTHDLG_CHECKDEFAULT_NAME 0x00000010
45 #define AUTHDLG_LOGON 0x00000020
47 #define AUTHDLG_ENABLECACHE 0x00000001
48 #define AUTHDLG_CHECKCACHE 0x00000002
49 #define AUTHDLG_CACHEINVALID 0x00000004
50 #define AUTHDLG_USE_DEFAULT_NAME 0x00000008
51 #define AUTHDLG_CHECKDEFAULT_NAME 0x00000010
52 #define AUTHDLG_LOGON 0x00000020
54 DWORD WINAPI
NPSAuthenticationDialogA(LPAUTHDLGSTRUCTA
);
55 #define NPSAuthenticationDialog WINELIB_NAME_AW(NPSAuthenticationDialog)
56 DWORD WINAPI
NPSGetProviderHandleA(PHPROVIDER
);
57 #define NPSGetProviderHandle WINELIB_NAME_AW(NPSGetProviderHandle)
58 DWORD WINAPI
NPSGetProviderNameA(HPROVIDER
,LPCSTR
*);
59 #define NPSGetProviderName WINELIB_NAME_AW(NPSGetProviderName)
60 DWORD WINAPI
NPSGetSectionNameA(HPROVIDER
,LPCSTR
*lpszSectionName
);
61 #define NPSGetSectionName WINELIB_NAME_AW(NPSGetSectionName)
62 DWORD WINAPI
NPSSetExtendedErrorA(DWORD
,LPSTR
);
63 #define NPSSetExtendedError WINELIB_NAME_AW(NPSSetExtendedError)
64 VOID WINAPI
NPSSetCustomTextA(LPSTR
);
65 #define NPSSetCustomText WINELIB_NAME_AW(NPSSetCustomText)
66 DWORD WINAPI
NPSCopyStringA(LPCSTR
,LPVOID
,LPDWORD
);
67 #define NPSCopyString WINELIB_NAME_AW(NPSCopyString)
68 DWORD WINAPI
NPSDeviceGetNumberA(LPSTR
,LPDWORD
,LPDWORD
);
69 #define NPSDeviceGetNumber WINELIB_NAME_AW(NPSDeviceGetNumber)
70 DWORD WINAPI
NPSDeviceGetStringA(DWORD
,DWORD
,LPSTR
,LPDWORD
);
71 #define NPSDeviceGetString WINELIB_NAME_AW(NPSDeviceGetString)
74 enum NOTIFYTYPE
{ NotifyAddConnection
,
75 NotifyCancelConnection
,
76 NotifyGetConnectionPerformance
};
78 #define NOTIFY_PRE 0x00
79 #define NOTIFY_POST 0x01
85 DWORD dwOperationStatus
;
88 } NOTIFYINFO
, *LPNOTIFYINFO
;
94 NETRESOURCEA NetResource
;
101 } NOTIFYADDA
, *LPNOTIFYADDA
;
103 #define CONNECT_CTXT_RESTORE 0x00000001
104 #define CONNECT_CTXT_GLOBAL 0x00000002
105 #define CONNECT_CTXT_PROVIDER 0x00000004
106 #define CONNECT_CTXT_SINGLE 0x00000008
116 } NOTIFYCANCELA
, *LPNOTIFYCANCELA
;
122 LPSTR lpProviderName
;
123 LPNETCONNECTINFOSTRUCT lpNetConnectInfo
;
125 } NOTIFYPERFORMANCEA
, *LPNOTIFYPERFORMANCEA
;
127 typedef DWORD
CALLBACK (*NOTIFYCALLBACK
)(LPNOTIFYINFO
,LPVOID
);
129 DWORD WINAPI
NPSNotifyRegisterA(enum NOTIFYTYPE
,NOTIFYCALLBACK
);
130 #define NPSNotifyRegister WINELIB_NAME_AW(NPSNotifyRegister)
131 LPVOID WINAPI
NPSNotifyGetContextA(NOTIFYCALLBACK
);
132 #define NPSNotifyGetContext WINELIB_NAME_AW(NPSNotifyGetContext)