OLEUILINKPROPSW structure (oledlg.h)

Contains information that is used to initialize the Link tab of the Object Properties dialog box. A reference to it is passed in as part of the OLEUIOBJECTPROPS structure to the OleUIObjectProperties function. This tab shows the location, update status, and update time for a link. It allows the user to change the source of the link, toggle its update status between automatic and manual update, open the source, force an update of the link, or break the link (convert it to a static picture).

Syntax

typedef struct tagOLEUILINKPROPSW {
  DWORD                       cbStruct;
  DWORD                       dwFlags;
  DWORD                       dwReserved1[2];
  LPFNOLEUIHOOK               lpfnHook;
  LPARAM                      lCustData;
  DWORD                       dwReserved2[3];
  struct tagOLEUIOBJECTPROPSW *lpOP;
} OLEUILINKPROPSW, *POLEUILINKPROPSW, *LPOLEUILINKPROPSW;

Members

cbStruct

The size of the structure, in bytes.

dwFlags

Contains in/out flags specific to the Links page.

dwReserved1[2]

This member is reserved.

lpfnHook

Pointer to the hook callback (not used in this dialog box).

lCustData

Custom data to pass to hook (not used in this dialog box).

dwReserved2[3]

This member is reserved.

lpOP

Used internally.

Remarks

Note

The oledlg.h header defines OLEUILINKPROPS as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header oledlg.h

See also

OLEUIOBJECTPROPS

OleUIObjectProperties