Sets the data and type of a specified value under a registry key.
- Returns
- If the function succeeds, the return value is nonzero. It is 0 if the function fails.
You must construct a CBCGPRegistry object with bRead parameter set to nonzero to be able to use the Write function.
- Parameters
-
pszKey | Pointer to a string containing the name of the value to set. |
pData | Pointer to a buffer containing the data to be stored with the specified value name. |
nBytes | Specifies the size, in bytes, of the information pointed to by the pData parameter. |