다음을 통해 공유


ISpObjectWithToken::SetObjectToken (Windows Embedded CE 6.0)

1/6/2010

This method binds the object to the specified token.

Syntax

HRESULT SetObjectToken(
  ISpObjectToken* pToken
);

Parameters

  • pToken
    [in] Pointer to an implementation of ISpObjectToken to bind with the object.

Return Value

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

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpObjectWithToken
SAPI Interfaces