The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IEnumRfc1766::Reset method
Resets the Locale Enumeration Object to the beginning of the enumeration sequence.
Syntax
HRESULT Reset();
Parameters
This method has no parameters.
Return value
Returns NOERROR.
Examples
This example gets 10 RFC1766INFO structures from the middle of the enumeration sequence. Then, using the IEnumRfc1766::Reset function, it gets the first 10.
pMultiLanguage->EnumRfc1766(&pEnumRfc1766); PRFC1766INFO pcpInfo; ULONG ccpInfo; pcpInfo=(PRFC1766INFO)CoTaskMemAlloc(sizeof(RFC1766INFO)*10); pEnumRfc1766->Skip(6); pEnumRfc1766->Next(10, pcpInfo, &ccpInfo); // Use the information returned about these 10 locales. pEnumRfc1766->Reset(); pEnumRfc1766->Next(10, pcpInfo, &ccpInfo); // Use the information returned about the first 10. CoTaskMemRealloc((void*)pcpInfo, sizeof(RFC1766INFO)*ccpInfo);
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- IEnumRfc1766
- Reference
- Next
- Skip
Show: