nw::ut::ComparePtr Function

Syntax

int ComparePtr(
     const void* a,
     const void * b
);

Arguments

Name Description
in a Pointer to the comparison source.
in b Pointer to the comparison target.

Return Values

Returns greater than 0 when the address pointed to by a is greater than the address pointed to by b; 0 when the address pointed to by a is equal to the address pointed to by b; and less than 0 when the address pointed to by a is smaller than the address pointed to by b.

Description

Compares the two pointer addresses.


CONFIDENTIAL