You are reading help file online using chmlib.com
|
ISpDataKey::CreateKey creates a new token subkey. Returns a new object which supports ISpDataKey for the specified subkey. If the key already exists, the function will open the existing key instead of overwriting it.
HRESULT CreateKey(
const WCHAR *pszSubKeyName,
ISpDataKey **ppSubKey
);
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | Either pszSubKeyName or ppKey is invalid or bad. |
FAILED(hr) | Appropriate error message. |
You are reading help file online using chmlib.com
|