In this example, where an object does not support being printed, a beep is generated.
SOM_Scope BOOL SOMLINK myfold_wpPrintObject(MYFOLDER *somSelf,
PPRINTDEST pPrintDest,
ULONG ulReserved)
{
MYFOLDERData *somThis = MYFOLDERGetData(somSelf);
MYFOLDERMethodDebug("MYFOLDER","myfold_wpPrintObject");
DosBeep(100,500); /* Beep for half a second (500 milliseconds) */
return( TRUE );
}