Timeline Framework C++ Edition

◆ RegisterProtocol()

static int RegisterProtocol ( const tstring Protocol,
const tstring DisplayName 
)
static

Registers an Application Activation Protocol.

Parameters
ProtocolThe string represents the unique identifier for the Application Activation Protocol.
DisplayNameThe user friendly display name that describes the Application Activation protocol.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The Application Activation Protocol is a part of the Activation Deep Link, a URI that will be used to start your application to resume the application with specific context. It is used to activate your application when user selects activity from the Windows Timeline Graph.

The Application Activation Protocol must unique identifies your application and must not overwrite existing system protocol. An application can register more than one protocol.