Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method binds the object to the specified token.
HRESULT SetObjectToken( ISpObjectToken* pToken);
Parameters
- pToken
[in] Pointer to an implementation of ISpObjectToken to bind with the object.
Return Values
The following table shows the possible return values.
| Value | Description |
|---|---|
| S_OK | Function completed successfully. |
| E_POINTER | pToken is invalid or bad. |
| E_OUTOFMEMORY | Exceeded available memory. |
| 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
ISpObjectWithToken | SAPI Interfaces
Send Feedback on this topic to the authors