Share via


ISpObjectWithToken::GetObjectToken

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method gets an object token.

Syntax

HRESULT GetObjectToken(
  ISpObjectToken** ppToken
);

Parameters

  • ppToken
    [out] Address of a pointer to an implementation of ISpObjectToken that represents the object token.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

ppToken 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