VerifyApplicationUserModelId function (appmodel.h)

Verifies whether or not an application user model id is syntactically valid.

Syntax

LONG VerifyApplicationUserModelId(
  PCWSTR applicationUserModelId
);

Parameters

applicationUserModelId

Type: _In_ PCWSTR

The application user model id to verify.

Return value

Type: LONG

Returns ERROR_SUCCESS if the input is syntactically valid; otherwise ERROR_INVALID_PARAMETER.

Requirements

Requirement Value
Minimum supported client Windows 10
Header appmodel.h