TWUGetUpdateName

The TWUGetUpdateName function returns the name of the application whose package information file was retrieved by a prior call to TWUCheckUpdate. You can use this name in prompts to the user during the update process. The returned name corresponds to the DisplayName value in the package information file.

const TCHAR * TWUGetUpdateName(
    TWUPDATE hUpdate
);

Parameters

hUpdate
[Input] Handle of active update session, created with TWUOpenUpdate.

Return value

If the function succeeds, it returns a pointer to the application's name. If the function fails, it returns NULL.