mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:20:56 +00:00
ntoskrnl.exe: Implement ExDeleteResourceLite().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aeed70689c
commit
5698bb29a3
|
@ -3355,15 +3355,6 @@ NTSTATUS WINAPI IoCsqInitialize(PIO_CSQ csq, PIO_CSQ_INSERT_IRP insert_irp, PIO_
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExDeleteResourceLite (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI ExDeleteResourceLite(PERESOURCE resource)
|
||||
{
|
||||
FIXME("(%p): stub\n", resource);
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* KeEnterCriticalRegion (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -743,6 +743,18 @@ NTSTATUS WINAPI ExInitializeResourceLite( ERESOURCE *resource )
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ExDeleteResourceLite (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI ExDeleteResourceLite( ERESOURCE *resource )
|
||||
{
|
||||
TRACE("resource %p.\n", resource);
|
||||
heap_free(resource->OwnerTable);
|
||||
heap_free(resource->ExclusiveWaiters);
|
||||
heap_free(resource->SharedWaiters);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* Find an existing entry in the shared owner list, or create a new one. */
|
||||
static OWNER_ENTRY *resource_get_shared_entry( ERESOURCE *resource, ERESOURCE_THREAD thread )
|
||||
{
|
||||
|
|
|
@ -1521,6 +1521,7 @@ PVOID WINAPI ExAllocatePoolWithQuota(POOL_TYPE,SIZE_T);
|
|||
PVOID WINAPI ExAllocatePoolWithTag(POOL_TYPE,SIZE_T,ULONG);
|
||||
PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
|
||||
void WINAPI ExDeleteNPagedLookasideList(PNPAGED_LOOKASIDE_LIST);
|
||||
NTSTATUS WINAPI ExDeleteResourceLite(ERESOURCE*);
|
||||
void WINAPI ExFreePool(PVOID);
|
||||
void WINAPI ExFreePoolWithTag(PVOID,ULONG);
|
||||
void WINAPI ExInitializeNPagedLookasideList(PNPAGED_LOOKASIDE_LIST,PALLOCATE_FUNCTION,PFREE_FUNCTION,ULONG,SIZE_T,ULONG,USHORT);
|
||||
|
|
Loading…
Reference in a new issue