This function returns the intersection of the contents of the string associated with the type-string handle for an object and an application-specified type string.
#define INCL_WINSTDDRAG
#include <os2.h>
PDRAGITEM pDragitem; /* Pointer to the DRAGITEM structure whose hstrType is to be verified. */
PSZ pType; /* String specifying the types to search for. */
ULONG cbBuflen; /* Size of the return buffer. */
PSZ pBuffer; /* Buffer where the intersection string is returned. */
BOOL rc; /* Match indicator. */
rc = DrgVerifyTypeSet(pDragitem, pType, cbBuflen,
pBuffer);