다음을 통해 공유


PROPERTY_INFO_ENTRY_EX

Represents a specific property in a property set.

PROPERTY_INFO_ENTRY_EX(dwPropID, vt, dwFlags, value, options )

매개 변수

  • dwPropID
    [in] A DBPROPID value that can be used in conjunction with the property set GUID to identify a property.

  • vt
    [in] The VARTYPE of this property entry.

  • dwFlags
    [in] A DBPROPFLAGS value describing this property entry.

  • value
    [in] The property value of type DWORD.

  • options
    Either DBPROPOPTIONS_REQUIRED or DBPROPOPTIONS_SETIFCHEAP. Normally, a provider does not need to set options since it is set by the consumer.

설명

With this macro, you can directly specify the property value of type DWORD as well as options and flags. To merely set a property to a default value defined in ATLDB.H, use PROPERTY_INFO_ENTRY. To set a property to a value of your choice, without setting options or flags on it, use PROPERTY_INFO_ENTRY_VALUE.

예제

See BEGIN_PROPSET_MAP.

요구 사항

Header: atldb.h

참고 항목

참조

OLE DB 공급자 만들기

개념

OLE DB 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조

기타 리소스

OLE DB 공급자 템플릿에 대한 매크로