Shell Macros

This section describes the Windows Shell utility macros.

In this section

Topic Description
DEFINE_PROPERTYKEY
Used to pack a format identifier (FMTID) and property identifier (PID) into a PROPERTYKEY structure that represents a property key.
IID_PPV_ARGS
Used to retrieve an interface pointer, supplying the IID value of the requested interface automatically based on the type of the interface pointer used. This avoids a common coding error by checking the type of the value passed at compile time.
IsEqualPropertyKey
Compares the members of two PROPERTYKEY structures and returns whether they are equal.
MAKEDLLVERULL
Used to pack DLL version information into a ULONGLONG value.
NetAddr_DisplayErrorTip
Displays an error message in the balloon tip associated with the network address control.
NetAddr_GetAddress
Indicates whether a network address conforms to a specified type and format.
NetAddr_GetAllowType
Retrieves the network address types that a specified network address control accepts.
NetAddr_SetAllowType
Sets the network address types that a specified network address control accepts.