nsi: Add stubs for NsiRequestChangeNotification[Ex].

This commit is contained in:
Paul Gofman 2023-07-25 17:37:12 -06:00 committed by Alexandre Julliard
parent a577d28a8b
commit 671412d3bb
3 changed files with 36 additions and 2 deletions

View file

@ -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;
}

View file

@ -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

View file

@ -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 */