nsi: Add stub implementations of NsiAllocateAndGetTable() and NsiFreeTable().
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2b783a3532
commit
b85df9aab0
|
@ -2,3 +2,6 @@ MODULE = nsi.dll
|
|||
IMPORTLIB = nsi
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
nsi.c
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* Network Store Interface
|
||||
*
|
||||
* Copyright 2021 Huw Davies
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
#include "winsock2.h"
|
||||
#include "winternl.h"
|
||||
#include "ws2ipdef.h"
|
||||
#include "iphlpapi.h"
|
||||
#include "netioapi.h"
|
||||
#include "iptypes.h"
|
||||
#include "netiodef.h"
|
||||
#include "wine/nsi.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(nsi);
|
||||
|
||||
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 )
|
||||
{
|
||||
FIXME( "%d %p %d %p %d %p %d %p %d %p %d %p %d: stub\n", unk, module, table, key_data, key_size,
|
||||
rw_data, rw_size, dynamic_data, dynamic_size, static_data, static_size, count, unk2 );
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI NsiFreeTable( void *key_data, void *rw_data, void *dynamic_data, void *static_data )
|
||||
{
|
||||
FIXME( "%p %p %p %p: stub\n", key_data, rw_data, dynamic_data, static_data );
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
@ stub NsiAllocateAndGetPersistentDataWithMaskTable
|
||||
@ stub NsiAllocateAndGetTable
|
||||
@ stdcall NsiAllocateAndGetTable(long ptr long ptr long ptr long ptr long ptr long ptr long)
|
||||
@ stub NsiCancelChangeNotification
|
||||
@ stub NsiDeregisterChangeNotification
|
||||
@ stub NsiDeregisterChangeNotificationEx
|
||||
|
@ -7,7 +7,7 @@
|
|||
@ stub NsiEnumerateObjectsAllParametersEx
|
||||
@ stub NsiEnumerateObjectsAllPersistentParametersWithMask
|
||||
@ stub NsiFreePersistentDataWithMaskTable
|
||||
@ stub NsiFreeTable
|
||||
@ stdcall NsiFreeTable(ptr ptr ptr ptr)
|
||||
@ stub NsiGetAllParameters
|
||||
@ stub NsiGetAllParametersEx
|
||||
@ stub NsiGetAllPersistentParametersWithMask
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Copyright 2021 Huw Davies
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __WINE_NSI_H
|
||||
#define __WINE_NSI_H
|
||||
|
||||
/* Undocumented Nsi api */
|
||||
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 );
|
||||
void WINAPI NsiFreeTable( void *key_data, void *rw_data, void *dynamic_data, void *static_data );
|
||||
|
||||
#endif /* __WINE_NSI_H */
|
Loading…
Reference in New Issue