ReactOS 0.4.15-dev-8119-g4fb2fdb
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 */
17void
19EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
20{
21 qsort(Buf, ElemCount, ElemSize, CompFunc);
22}
23
24/* EOF */
#define APIENTRY
Definition: api.h:79
BYTE * PBYTE
Definition: pedump.c:66
int CompFunc(const void *p1, const void *p2)
Definition: rsym64.c:508
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 *))
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
void APIENTRY EngSort(IN OUT PBYTE Buf, IN ULONG ElemSize, IN ULONG ElemCount, IN SORTCOMP CompFunc)
Definition: sort.c:19