ResourceType Property

The resource type.

Syntax

int GetResourceType(int iResourceIndex);

Possible Values

HRT_FILE(0), 
HRT_DIRECTORY(1),
HRT_SYM_LINK(2)

Default Value

0

Remarks

The resource type.

This property reflects the resource's type. Possible values are:

0 (hrtFile) A file.
1 (hrtDirectory) A directory.
2 (hrtSymLink) A symlink.

The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Qt Edition - Version 20.0 [Build 8265]