Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
892 B

/*++
Copyright (c) 1998, Microsoft Corporation
Module Name:
sort.c
Abstract:
This module contains routines used for efficiently sorting information.
Author:
Abolade Gbadegesin (aboladeg) 18-Feb-1998
Based on version written for user-mode RAS user-interface.
(net\routing\ras\ui\common\nouiutil\noui.c).
Revision History:
--*/
#ifndef _SHELLSORT_H_
#define _SHELLSORT_H_
typedef
LONG
(FASTCALL* PCOMPARE_CALLBACK)(
VOID* ,
VOID*
);
NTSTATUS
ShellSort(
VOID* pItemTable,
ULONG dwItemSize,
ULONG dwItemCount,
PCOMPARE_CALLBACK CompareCallback,
VOID* pDestinationTable OPTIONAL
);
VOID
ShellSortIndirect(
VOID* pItemTable,
VOID** ppItemTable,
ULONG dwItemSize,
ULONG dwItemCount,
PCOMPARE_CALLBACK CompareCallback
);
#endif // _SHELLSORT_H_