Freigeben über


ISpDataKey::GetData (Windows CE 5.0)

Send Feedback

This method gets the binary data for a token.

HRESULT GetData(  const WCHAR* pszValueName,   ULONG* pcbData,   BYTE* pData);

Parameters

  • pszValueName
    [in] Pointer to a null-terminated string specifying the name of the registry key from which to retrieve the value.
  • pcbData
    [in] Pointer to the size, in bytes, of the pData parameter.
  • pData
    [out] Pointer to the binary data retrieved.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG pszValueName is invalid or bad.
E_POINTER Either pcbData or pData is an invalid or bad pointer.
SPERR_NOT_FOUND Token key not found.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpDataKey | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.