converter

Convert hostname (web address) to IP

Performs a lookup of a hostname and returns its IP address. If the lookup fails the function returns a blank string.

You must first call WSAStartup() to initialize the Winsock DLL prior to doing the lookup, and call WSACleanup() when operations are complete.

HSV to RGB DWORD

This will convert a HSV value into an RGB DWORD. There is an example which will draw a box with given HSV values.

The hsv2dword function takes the 3 components as floats as described by the remark preceding the function.


Theme & Icons by N.Design Studio
Syndicate content