2 * MPR - Network provider services
11 * Note: The Unicode variants of all these routines/structures
12 * apparently don't exist, at least not in Win95 ...
15 #define HPROVIDER LPVOID
16 typedef HPROVIDER
*PHPROVIDER
;
31 LPCSTR lpDefaultUserName
;
34 } AUTHDLGSTRUCTA
, *LPAUTHDLGSTRUCTA
;
36 DECL_WINELIB_TYPE_AW(AUTHDLGSTRUCT
)
37 DECL_WINELIB_TYPE_AW(LPAUTHDLGSTRUCT
)
39 #define AUTHDLG_ENABLECACHE 0x00000001
40 #define AUTHDLG_CHECKCACHE 0x00000002
41 #define AUTHDLG_CACHEINVALID 0x00000004
42 #define AUTHDLG_USE_DEFAULT_NAME 0x00000008
43 #define AUTHDLG_CHECKDEFAULT_NAME 0x00000010
44 #define AUTHDLG_LOGON 0x00000020
46 #define AUTHDLG_ENABLECACHE 0x00000001
47 #define AUTHDLG_CHECKCACHE 0x00000002
48 #define AUTHDLG_CACHEINVALID 0x00000004
49 #define AUTHDLG_USE_DEFAULT_NAME 0x00000008
50 #define AUTHDLG_CHECKDEFAULT_NAME 0x00000010
51 #define AUTHDLG_LOGON 0x00000020
53 DWORD WINAPI
NPSAuthenticationDialogA(LPAUTHDLGSTRUCTA
);
54 #define NPSAuthenticationDialog WINELIB_NAME_AW(NPSAuthenticationDialog)
55 DWORD WINAPI
NPSGetProviderHandleA(PHPROVIDER
);
56 #define NPSGetProviderHandle WINELIB_NAME_AW(NPSGetProviderHandle)
57 DWORD WINAPI
NPSGetProviderNameA(HPROVIDER
,LPCSTR
*);
58 #define NPSGetProviderName WINELIB_NAME_AW(NPSGetProviderName)
59 DWORD WINAPI
NPSGetSectionNameA(HPROVIDER
,LPCSTR
*lpszSectionName
);
60 #define NPSGetSectionName WINELIB_NAME_AW(NPSGetSectionName)
61 DWORD WINAPI
NPSSetExtendedErrorA(DWORD
,LPSTR
);
62 #define NPSSetExtendedError WINELIB_NAME_AW(NPSSetExtendedError)
63 VOID WINAPI
NPSSetCustomTextA(LPSTR
);
64 #define NPSSetCustomText WINELIB_NAME_AW(NPSSetCustomText)
65 DWORD WINAPI
NPSCopyStringA(LPCSTR
,LPVOID
,LPDWORD
);
66 #define NPSCopyString WINELIB_NAME_AW(NPSCopyString)
67 DWORD WINAPI
NPSDeviceGetNumberA(LPSTR
,LPDWORD
,LPDWORD
);
68 #define NPSDeviceGetNumber WINELIB_NAME_AW(NPSDeviceGetNumber)
69 DWORD WINAPI
NPSDeviceGetStringA(DWORD
,DWORD
,LPSTR
,LPDWORD
);
70 #define NPSDeviceGetString WINELIB_NAME_AW(NPSDeviceGetString)
73 enum NOTIFYTYPE
{ NotifyAddConnection
,
74 NotifyCancelConnection
,
75 NotifyGetConnectionPerformance
};
77 #define NOTIFY_PRE 0x00
78 #define NOTIFY_POST 0x01
84 DWORD dwOperationStatus
;
87 } NOTIFYINFO
, *LPNOTIFYINFO
;
93 NETRESOURCEA NetResource
;
100 } NOTIFYADDA
, *LPNOTIFYADDA
;
102 #define CONNECT_CTXT_RESTORE 0x00000001
103 #define CONNECT_CTXT_GLOBAL 0x00000002
104 #define CONNECT_CTXT_PROVIDER 0x00000004
105 #define CONNECT_CTXT_SINGLE 0x00000008
115 } NOTIFYCANCELA
, *LPNOTIFYCANCELA
;
121 LPSTR lpProviderName
;
122 LPNETCONNECTINFOSTRUCT lpNetConnectInfo
;
124 } NOTIFYPERFORMANCEA
, *LPNOTIFYPERFORMANCEA
;
126 typedef DWORD (CALLBACK
*NOTIFYCALLBACK
)(LPNOTIFYINFO
,LPVOID
);
128 DWORD WINAPI
NPSNotifyRegisterA(enum NOTIFYTYPE
,NOTIFYCALLBACK
);
129 #define NPSNotifyRegister WINELIB_NAME_AW(NPSNotifyRegister)
130 LPVOID WINAPI
NPSNotifyGetContextA(NOTIFYCALLBACK
);
131 #define NPSNotifyGetContext WINELIB_NAME_AW(NPSNotifyGetContext)