ISpObjectWithToken::SetObjectToken

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.