ISpObjectToken::GetId (Windows Embedded CE 6.0)
1/6/2010
This method gets the identifier for an object token. This identifier can be used later to recreate a token.
Syntax
HRESULT GetId(
WCHAR** ppszCoMemTokenId
);
Parameters
- ppszCoMemTokenId
[out] Address of a pointer to a null-terminated string specifying the token identifier. The caller must use CoTaskMemFree to free the object associated with the token.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
E_POINTER |
ppszCoMemTokenId is invalid or bad. |
E_OUTOFMEMORY |
Exceeded available memory. |
SPERR_UNINITIALIZED |
TokenId interface is not initialized. |
FAILED(hr) |
Appropriate error message. |
Requirements
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |