ReactOS
0.4.16-dev-36-g301675c
sort.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS win32 subsystem
4
* PURPOSE:
5
* FILE: win32ss/gdi/eng/sort.c
6
* PROGRAMER: ReactOS Team
7
*/
8
9
#include <
win32k.h
>
10
11
#define NDEBUG
12
#include <debug.h>
13
14
/*
15
* @implemented
16
*/
17
void
18
APIENTRY
19
EngSort
(
IN
OUT
PBYTE
Buf,
IN
ULONG
ElemSize,
IN
ULONG
ElemCount,
IN
SORTCOMP
CompFunc
)
20
{
21
qsort
(Buf, ElemCount, ElemSize,
CompFunc
);
22
}
23
24
/* EOF */
APIENTRY
#define APIENTRY
Definition:
api.h:79
PBYTE
BYTE * PBYTE
Definition:
pedump.c:66
CompFunc
int CompFunc(const void *p1, const void *p2)
Definition:
rsym64.c:508
qsort
void __cdecl qsort(_Inout_updates_bytes_(_NumOfElements *_SizeOfElements) void *_Base, _In_ size_t _NumOfElements, _In_ size_t _SizeOfElements, _In_ int(__cdecl *_PtFuncCompare)(const void *, const void *))
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
OUT
#define OUT
Definition:
typedefs.h:40
win32k.h
EngSort
void APIENTRY EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
Definition:
sort.c:19
win32ss
gdi
eng
sort.c
Generated on Mon Sep 16 2024 06:14:22 for ReactOS by
1.9.6