Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Gets an enumeration type from an enumeration information structure.
Syntax
HRESULT GetEnumType(
[out] PROPENUMTYPE *penumtype
);
Parameters
[out] penumtype
Type: PROPENUMTYPE*
When this method returns, contains a pointer to one of the values listed below that indicate the enumeration type.
PET_DISCRETEVALUE (0)
Use GetDisplayText and either GetRangeMinValue or GetRangeSetValue.
PET_RANGEDVALUE (1)
Use GetDisplayText and either GetRangeMinValue or GetRangeSetValue.
PET_DEFAULTVALUE (2)
Use GetDisplayText.
PET_ENDRANGE (3)
Use GetValue or GetRangeMinValue.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For additional information, see enumeratedList.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | propsys.h |