नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
This method uses a case-insensitive search to return the value associated with the name of an enumeration constant.
Syntax
Parameters
pszValue
[in] A string specifying the name for which to get the value. Note that for C++, this is a wide character string.
pValue
[out] Returns the associated numerical value.
Return Value
If successful, returns S_OK; otherwise, returns S_FALSE, if the name is not part of the enumeration, or an error code.
Remarks
This method is case-insensitive. If a case-sensitive search is needed (for example, in a language such as C++ where names are case-sensitive), use GetValueFromString.