OIEXT

typedef struct _OIEXT {

WORD cbSize;

WORD Flags;

HINSTANCE hInstCaller;

LPTSTR pHelpFile;

DWORD dwReserved[4];

} OIEXT, *POIEXT;

The OIEXT structure allows the caller to optionally extend an option item defined by an OPTITEM structure.

Members

cbSize

Size of this structure in bytes.

Flags

Flag field in which the following flag can be set.

Flag Description
OIEXTF_ANSI_STRING The string to which pHelpFile points is an ANSI string, as opposed to a UNICODE string. The CPSUI checks this bit only when pHelpFile does not specify a resource ID.

hInstCaller

Specifies a DLL instance handle. If hInstCaller is not null, the CPSUI loads all resource strings and icons for the associated OPTITEM, OPTTYPE, and OPTPARAM structures from the DLL identified by hInstCaller. If hInstCaller is null, the CPSUI uses the DLL handle identified by the hInstCaller member of the COMPROPSHEETUI.

pHelpFile

Specifies the per-OPTITEM help file used by the CPSUI for help indexing. This field can be a resource ID or a pointer to the help file. If pHelpFile is null, the CPSUI uses the help file identified by the pHelpFile member of the COMPROPSHEETUI structure.

dwReserved[4]

Reserved; these fields must be set to zero.

Comments

The OIEXT structure allows the caller to optionally extend an option item defined by an OPTITEM structure.

The pHelpFile parameter is either a pointer to a null-terminated string or an integer value that specifies a resource identifier. If pHelpFile specifies a resource identifier, its high-order word must be zero and its low-order word must contain the identifier.