다음을 통해 공유


InputScope 열거형(inputscope.h)

InputScope 열거형에는 지정된 필드에 적용되는 입력 범위를 지정하는 값이 포함됩니다.

Syntax

typedef enum __MIDL___MIDL_itf_inputscope_0000_0000_0001 {
  IS_DEFAULT = 0,
  IS_URL = 1,
  IS_FILE_FULLFILEPATH = 2,
  IS_FILE_FILENAME = 3,
  IS_EMAIL_USERNAME = 4,
  IS_EMAIL_SMTPEMAILADDRESS = 5,
  IS_LOGINNAME = 6,
  IS_PERSONALNAME_FULLNAME = 7,
  IS_PERSONALNAME_PREFIX = 8,
  IS_PERSONALNAME_GIVENNAME = 9,
  IS_PERSONALNAME_MIDDLENAME = 10,
  IS_PERSONALNAME_SURNAME = 11,
  IS_PERSONALNAME_SUFFIX = 12,
  IS_ADDRESS_FULLPOSTALADDRESS = 13,
  IS_ADDRESS_POSTALCODE = 14,
  IS_ADDRESS_STREET = 15,
  IS_ADDRESS_STATEORPROVINCE = 16,
  IS_ADDRESS_CITY = 17,
  IS_ADDRESS_COUNTRYNAME = 18,
  IS_ADDRESS_COUNTRYSHORTNAME = 19,
  IS_CURRENCY_AMOUNTANDSYMBOL = 20,
  IS_CURRENCY_AMOUNT = 21,
  IS_DATE_FULLDATE = 22,
  IS_DATE_MONTH = 23,
  IS_DATE_DAY = 24,
  IS_DATE_YEAR = 25,
  IS_DATE_MONTHNAME = 26,
  IS_DATE_DAYNAME = 27,
  IS_DIGITS = 28,
  IS_NUMBER = 29,
  IS_ONECHAR = 30,
  IS_PASSWORD = 31,
  IS_TELEPHONE_FULLTELEPHONENUMBER = 32,
  IS_TELEPHONE_COUNTRYCODE = 33,
  IS_TELEPHONE_AREACODE = 34,
  IS_TELEPHONE_LOCALNUMBER = 35,
  IS_TIME_FULLTIME = 36,
  IS_TIME_HOUR = 37,
  IS_TIME_MINORSEC = 38,
  IS_NUMBER_FULLWIDTH = 39,
  IS_ALPHANUMERIC_HALFWIDTH = 40,
  IS_ALPHANUMERIC_FULLWIDTH = 41,
  IS_CURRENCY_CHINESE = 42,
  IS_BOPOMOFO = 43,
  IS_HIRAGANA = 44,
  IS_KATAKANA_HALFWIDTH = 45,
  IS_KATAKANA_FULLWIDTH = 46,
  IS_HANJA = 47,
  IS_HANGUL_HALFWIDTH = 48,
  IS_HANGUL_FULLWIDTH = 49,
  IS_SEARCH = 50,
  IS_FORMULA = 51,
  IS_SEARCH_INCREMENTAL = 52,
  IS_CHINESE_HALFWIDTH = 53,
  IS_CHINESE_FULLWIDTH = 54,
  IS_NATIVE_SCRIPT = 55,
  IS_YOMI = 56,
  IS_TEXT = 57,
  IS_CHAT = 58,
  IS_NAME_OR_PHONENUMBER = 59,
  IS_EMAILNAME_OR_ADDRESS = 60,
  IS_PRIVATE = 61,
  IS_MAPS = 62,
  IS_NUMERIC_PASSWORD = 63,
  IS_NUMERIC_PIN = 64,
  IS_ALPHANUMERIC_PIN = 65,
  IS_ALPHANUMERIC_PIN_SET = 66,
  IS_FORMULA_NUMBER = 67,
  IS_CHAT_WITHOUT_EMOJI = 68,
  IS_PHRASELIST = -1,
  IS_REGULAREXPRESSION = -2,
  IS_SRGS = -3,
  IS_XML = -4,
  IS_ENUMSTRING = -5
} InputScope;

상수

| | | ---- | | IS_DEFAULT
값: 0
표준 인식 편향을 나타냅니다. 기본값으로 처리되고 기본 어휘집을 사용합니다. 다른 입력 scope 결합된 경우 다른 입력 scope 강제 강제 변환하지 않습니다. | | IS_URL
값: 1
URL, 파일 또는 FTP 형식을 나타냅니다. 예를 들면 다음과 같습니다.


  • http://www.humongousinsurance.com/

  • ftp://ftp.microsoft.com

  • www.microsoft.com

  • file:///C:\templ.txt

  • $

| | IS_FILE_FULLFILEPATH
값: 2
파일 경로를 나타냅니다. 다음 조건이 적용됩니다.


  • 서버 이름 및 공유 이름의 경우 를 제외한 모든 IS_ONECHAR 문자를 허용합니다. * ? : <> |

  • 파일 이름의 경우 다음을 제외한 모든 IS_ONECHAR 문자를 허용합니다. \ / : <> |

  • 입력은 \ 또는 드라이브 이름 또는 \ 또는 로 시작해야 합니다. \ 또는 .\ 또는 /

  • 공백이 허용됩니다.


예를 들면 다음과 같습니다.


  • \servername\sharename\filename.txt

  • C:\temp\current work.doc

  • .. /images/hank.jpg

| | IS_FILE_FILENAME
값: 3
파일 이름을 나타냅니다. 다음 조건이 적용됩니다.


  • 확장 또는 확장 없음을 허용합니다.

  • 다음을 제외한 모든 IS_ONECHAR 문자를 허용합니다. \ / : <> |

  • 공백이 허용됩니다.


이러한 데이터의 예는 다음과 같습니다.


  • filename.txt

  • 파일 이름

  • 파일 name.txt

| | IS_EMAIL_USERNAME
값: 4
전자 메일 사용자 이름을 나타냅니다. 예를 들면 다음과 같습니다.


  • jeffsm

  • JeffSm

  • Jsmith

  • JSmith

  • jeffsmith

| | IS_EMAIL_SMTPEMAILADDRESS
값: 5
전체 SMTP 전자 메일 주소(예: someone@example.com)를 나타냅니다. | | IS_LOGINNAME
값: 6
로그인 이름 및 도메인을 나타냅니다. 다음 조건이 적용됩니다.


  • 모든 IS_ONECHAR 문자를 허용합니다.

  • 도메인 또는 사용자 이름이 영숫자가 아닌 문자로 시작하거나 끝나는 것을 허용하지 않습니다.

  • 공백은 허용되지 않습니다.


예를 들면 다음과 같습니다.


  • 시카고\JSMITH

  • JSMITH

| | IS_PERSONALNAME_FULLNAME
값: 7
첫 번째, 중간 및 성의 조합을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • Jeff A. Smith 이세

  • Jeff Smith

  • 스미스, 제프

  • Smith, Jeff A

| | IS_PERSONALNAME_PREFIX
값: 8
이름 앞에 있는 명예 또는 제목을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 씨.

  • Dr.

  • 놓치지

  • 선생님

| | IS_PERSONALNAME_GIVENNAME
값: 9
이름 또는 초기 이름을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • Jeff

  • J.

  • 응.

| | IS_PERSONALNAME_MIDDLENAME
값: 10
중간 이름 또는 초기를 나타냅니다. 예를 들면 다음과 같습니다.


  • Albert

  • A.

| | IS_PERSONALNAME_SURNAME
값: 11
성을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • Smith

  • 스미스 존스

  • Smith-Jones

| | IS_PERSONALNAME_SUFFIX
값: 12
이름 접미사 약어 또는 로마 숫자를 나타냅니다. 예를 들면 다음과 같습니다.


  • Jr.

  • III

| | IS_ADDRESS_FULLPOSTALADDRESS
값: 13
숫자를 포함한 전체 주소를 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 123 메인 스트리트, Anytown, WA 98989

  • PO Box 123 Anytown, WA 98989

| | IS_ADDRESS_POSTALCODE
값: 14
영숫자 우편 번호를 나타냅니다. 값은 국제 우편 번호를 지원하기 위해 영숫자입니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 98989

  • 98989-1234

| | IS_ADDRESS_STREET
값: 15
집 번호, 거리 번호, 아파트 이름 및 번호 및/또는 우편함을 나타냅니다. 예를 들면 다음과 같습니다.


  • 123 Main Street

  • P.O. Box 1234

| | IS_ADDRESS_STATEORPROVINCE
값: 16
주 또는 지방의 전체 이름 또는 약어를 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • WA

  • 워싱턴

  • 모든

| | IS_ADDRESS_CITY
값: 17
도시의 이름 또는 약어를 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 뉴욕

  • NYC

| | IS_ADDRESS_COUNTRYNAME
값: 18
국가/지역의 이름을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 이탈리아

  • 일본

  • 미합중국

| | IS_ADDRESS_COUNTRYSHORTNAME
값: 19
국가/지역 이름의 약어를 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • USA

  • U.S.A.

| | IS_CURRENCY_AMOUNTANDSYMBOL
값: 20
통화 기호 및 숫자를 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • $ 2,100.25

  • $.35

  • $1,234.50 USD

| | IS_CURRENCY_AMOUNT
값: 21
통화 기호를 제외한 통화의 숫자 값을 나타냅니다. 예를 들어 2,100.25입니다. | | IS_DATE_FULLDATE
값: 22
전체 날짜를 다양한 형식으로 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 07-17-2001

  • 7/17/01

  • 7/17

  • 12월 12일

  • 7월 17일

  • 2001년 7월 17일

| | IS_DATE_MONTH
값: 23
1-12로 제한되는 월의 숫자 표현을 나타냅니다. 예를 들면 다음과 같습니다.


  • 7

  • 07

  • 11

| | IS_DATE_DAY
값: 24
1-31로 제한되는 일의 숫자 표현을 나타냅니다. 예를 들면 다음과 같습니다.


  • 1

  • 04

  • 17

| | IS_DATE_YEAR
값: 25
연도의 숫자 표현을 나타냅니다. 예를 들면 다음과 같습니다.


  • 1988

  • 2004

  • 88

  • 04

  • '88

| | IS_DATE_MONTHNAME
값: 26
월의 문자 표현을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 12월

  • Dec

  • 12월.

| | IS_DATE_DAYNAME
값: 27
일의 문자 표현을 나타냅니다. 예를 들어 영어(미국)로 서식이 지정된 다음이 있습니다.


  • 수요일

  • 결혼

  • 결혼.

| | IS_DIGITS
값: 28
0-9로 제한되는 양수 정수를 나타냅니다. | | IS_NUMBER
값: 29
쉼표, 음수 기호 및 10진수를 포함한 숫자를 나타냅니다. 미국 위치의 경우 다음 조건이 적용됩니다.


  • 천 구분 기호는 쉼표입니다.

  • 소수 구분 기호는 마침표입니다.

  • 음수는 괄호가 아닌 공백이 없는 하이픈으로 표시됩니다.

| | IS_ONECHAR
값: 30
단일 ANSI 문자인 코드 페이지 1252를 나타냅니다. 미국 위치의 경우 다음 문자가 포함됩니다.

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdEfghijklmnopqrstuvwxyz0123456789!" #$%&'()*+,-./:;<=>?@[]^_{|}~ | | IS_PASSWORD<br>Value: *31*<br>Indicates a password. <b>IS_PASSWORD</b> is not supported and may be altered or unavailable in the future.<br><br><br><div class="alert"><b>Note</b>  <b>IS_PASSWORD</b> only indicates the password; it doesn't provide any security around the password. All passwords fields should have text services disabled to maintain password secrecy, and therefore it is not valid to have a password field with an <b>IS_PASSWORD</b> input scope.</div><br><div> </div> | | IS_TELEPHONE_FULLTELEPHONENUMBER IS_TELEPHONE_COUNTRYCODE<br>Value: *32*<br>Indicates a telephone number. Alphabetical input is not allowed. Examples include the following, formatted for English (United States).<br><br><ul><br><li>(206) 555-0123</li><br><li>555-0123</li><br><li>555.0123</li><br><li>206-555-0123</li><br><li>1-206-555-0123x1234</li><br><li>+1 (206) 555-1234</li><br></ul> | | IS_TELEPHONE_AREACODE<br>Value: *33*<br>Indicates telephone country codes. Examples include the following, formatted for English (United States).<br><br><ul><br><li>+1</li><br><li>+44</li><br><li>001</li><br><li>00 44</li><br></ul> | | IS_TELEPHONE_LOCALNUMBER<br>Value: *34*<br>Indicates telephone area codes. Examples include the following, formatted for English (United States).<br><br><ul><br><li>(206)</li><br><li>206</li><br></ul> | | IS_TIME_FULLTIME IS_TIME_HOUR<br>Value: *35*<br>Indicates a telephone number, excluding country or area code. Examples include the following, formatted for English (United States).<br><br><ul><br><li>555-0123</li><br><li>555 0123</li><br><li>555.0123</li><br></ul> | | IS_TIME_MINORSEC IS_NUMBER_FULLWIDTH<br>Value: *37*<br>Indicates a numeric representation of hours, constrained to 0-24. | | <br>Value: *36*<br>Indicates hours, minutes, seconds, and alphabetical time abbreviations. US English uses the 12 hour clock. Leading zeros are optional for hours but required for minutes and seconds. Hours are constrained to 0-24; minutes and seconds are constrained to 0-59. Examples include the following, formatted for English (United States).<br><br><ul><br><li>3:20</li><br><li>04:30</li><br><li>11:20:55</li><br><li>11:15 am</li><br><li>4:30 AM</li><br></ul> | | IS_ALPHANUMERIC_HALFWIDTH IS_CURRENCY_CHINESE<br>Value: *39*<br>Indicates full-width number, used for Japanese only. Constrained to full-width numbers and Kanji numbers. | | <br>Value: *38*<br>Indicates a numeric representation of minutes or seconds, constrained to 0-59. | | IS_BOPOMOFO<br>Value: *40*<br>Indicates half-width alphanumeric characters for East-Asian languages, constrained to half-width alphabetical characters and numbers. | | IS_ALPHANUMERIC_FULLWIDTH<br>Value: *41*<br>Indicates full-width alphanumeric characters for East-Asian languages, constrained to full-width alphabet characters and numbers. | | <br>Value: *45*<br>Indicates half-width Katakana characters. | | <br>Value: *43*<br>Indicates Bopomofo characters. | | <br>Value: *44*<br>Indicates Hiragana characters. | | <br>Value: *42*<br>Indicates Chinese currency. | | IS_HIRAGANA IS_KATAKANA_HALFWIDTH IS_KATAKANA_FULLWIDTH<br>Value: *46*<br>Indicates full-width Katakana characters. | | <br>Value: *47*<br>Indicates Hanja characters. | | IS_HANJA IS_HANGUL_HALFWIDTH<br>Value: *48*<br>Indicates half-width Hangul characters. | | <br>Value: *49*<br>Indicates full-width Hangul characters. | | IS_HANGUL_FULLWIDTH<br>Value: *50*<br><b>Starting with Windows 8:</b> Indicates a search string. | | IS_SEARCH IS_FORMULA IS_SEARCH_INCREMENTAL<br>Value: *52*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for search boxes where incremental results are displayed as the user types. | | <br>Value: *51*<br><b>Starting with Windows 8:</b> Indicates a formula control, for example, a spreadsheet field. | | IS_CHINESE_HALFWIDTH IS_CHINESE_FULLWIDTH<br>Value: *53*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for Chinese half-width characters. | | IS_NATIVE_SCRIPT<br>Value: *54*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for Chinese full-width characters. | | IS_YOMI<br>Value: *55*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for native script. | | IS_TEXT IS_CHAT<br>Value: *56*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for Japanese names. | | IS_NAME_OR_PHONENUMBER<br>Value: *57*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for working with text. | | IS_EMAILNAME_OR_ADDRESS<br>Value: *58*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for chat strings. | | IS_PRIVATE<br>Value: *59*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for working with a name or telephone number. | | IS_NUMERIC_PASSWORD<br>Value: *60*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for working with an email name or full email address. | | <br>Value: *61*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for working with private data. | | IS_MAPS<br>Value: *65*<br><b>Starting with Windows 10:</b> Indicates expected input is an alphanumeric PIN. | | <br>Value: *62*<br><b>Starting with Windows 10:</b> Indicates input scope is intended for working with a map location. | | <br>Value: *64*<br><b>Starting with Windows 10:</b> Indicates expected input is a numeric PIN. | | <br>Value: *63*<br><b>Starting with Windows 10:</b> Indicates expected input is a numeric password, or PIN. | | IS_NUMERIC_PIN IS_ALPHANUMERIC_PIN IS_ALPHANUMERIC_PIN_SET<br>Value: *67*<br><b>Starting with Windows 10:</b> Indicates expected input is a mathematical formula. | | <br>Value: *66*<br><b>Starting with Windows 10:</b> Indicates expected input is an alphanumeric PIN for lock screen. | | <br>Value: *68*<br><b>Starting with Windows 10:</b> Indicates expected input does not include emoji. | | IS_FORMULA_NUMBER IS_CHAT_WITHOUT_EMOJI IS_PHRASELIST IS_REGULAREXPRESSION<br>Value: *-1*<br>Indicates a phrase list. | | <br>Value: *-2*<br>Indicates a regular expression. | | <br>Value: *-3*<br>Indicates an XML string that conforms to the Speech Recognition Grammar Specification (SRGS) standard. Information on SRGS can be found at <a href="https://www.w3.org/tr/speech-grammar">http://www.w3.org/TR/speech-grammar</a>. | | IS_SRGS<br>Value: *-4*<br>Indicates a custom xml string. | | IS_XML IS_ENUMSTRING'
값: -5
scope IEnumString 인터페이스 포인터를 포함합니다. TIP(텍스트 입력 프로세서)는 ITfInputScope2::EnumWordList 를 호출하여 검색할 수 있습니다. |

설명

지정된 입력 scope 값이 지원되는지 여부는 기술마다 다를 수 있습니다.

요구 사항

   
지원되는 최소 클라이언트 Windows XP [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows Server 2003 [데스크톱 앱 | UWP 앱]
머리글 inputscope.h

추가 정보

ITfInputScope

SetInputScope

SetInputScopeXML

SetInputScopes