ConvertHexStringToDWORD
The ConvertHexStringToDWORD function is used to convert a hexadecimal string to a DWORD value. This utility function is used to construct an integrated link service configuration DLL.
BOOL ConvertHexStringToDWORD(
LPSTR szHexString,
LPDWORD dHexValue
);
Parameters
-
szHexString
-
This supplied parameter specifies the hexadecimal string to be converted.
-
dHexValue
-
This supplied and returned parameter contains the DWORD value of the hexadecimal string if the function was successful.
Return Values
-
true
-
The function executed successfully and the hexadecimal string was converted.
-
false
-
One or more of the parameters passed to this function are invalid or the function failed.
Remarks
This function scans until a nonhexadecimal character is encountered. The hexadecimal formats recognized are xnnnn, 0xnnnn, or nnnn.