If you use the following image:

And you were to use the following bitmap as your displacement map:

And you were to call the function using the following settings:
| Parameter | Value |
|---|---|
| uHorzFact | 17 |
| uVertFact | 24 |
| crFill | N/A |
| uFlags | FILL_NOCHG | DSPL_STRETCH |
The following figure results:
