Commit 671412d3 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

nsi: Add stubs for NsiRequestChangeNotification[Ex].

parent a577d28a
......@@ -307,3 +307,25 @@ err:
CloseHandle( device );
return err;
}
DWORD WINAPI NsiRequestChangeNotification( DWORD unk, const NPI_MODULEID *module, DWORD table, OVERLAPPED *ovr,
HANDLE *handle )
{
struct nsi_request_change_notification_ex params;
TRACE( "%lu %p %lu %p %p stub.\n", unk, module, table, ovr, handle );
params.unk = unk;
params.module = module;
params.table = table;
params.ovr = ovr;
params.handle = handle;
return NsiRequestChangeNotificationEx( &params );
}
DWORD WINAPI NsiRequestChangeNotificationEx( struct nsi_request_change_notification_ex *params )
{
FIXME( "%p stub.\n", params );
return ERROR_NOT_SUPPORTED;
}
......@@ -16,8 +16,8 @@
@ stdcall NsiGetParameterEx(ptr)
@ stub NsiRegisterChangeNotification
@ stub NsiRegisterChangeNotificationEx
@ stub NsiRequestChangeNotification
@ stub NsiRequestChangeNotificationEx
@ stdcall NsiRequestChangeNotification(long ptr long ptr ptr)
@ stdcall NsiRequestChangeNotificationEx(ptr)
@ stub NsiSetAllParameters
@ stub NsiSetAllParametersEx
@ stub NsiSetAllPersistentParametersWithMask
......
......@@ -492,6 +492,15 @@ struct nsi_get_parameter_ex
UINT data_offset;
};
struct nsi_request_change_notification_ex
{
DWORD unk;
const NPI_MODULEID *module;
UINT_PTR table;
OVERLAPPED *ovr;
HANDLE *handle;
};
DWORD WINAPI NsiAllocateAndGetTable( DWORD unk, const NPI_MODULEID *module, DWORD table, void **key_data, DWORD key_size,
void **rw_data, DWORD rw_size, void **dynamic_data, DWORD dynamic_size,
void **static_data, DWORD static_size, DWORD *count, DWORD unk2 );
......@@ -508,5 +517,8 @@ DWORD WINAPI NsiGetAllParametersEx( struct nsi_get_all_parameters_ex *params );
DWORD WINAPI NsiGetParameter( DWORD unk, const NPI_MODULEID *module, DWORD table, const void *key, DWORD key_size,
DWORD param_type, void *data, DWORD data_size, DWORD data_offset );
DWORD WINAPI NsiGetParameterEx( struct nsi_get_parameter_ex *params );
DWORD WINAPI NsiRequestChangeNotification( DWORD unk, const NPI_MODULEID *module, DWORD table, OVERLAPPED *ovr,
HANDLE *handle );
DWORD WINAPI NsiRequestChangeNotificationEx( struct nsi_request_change_notification_ex *params );
#endif /* __WINE_NSI_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment