Ejemplo n.º 1
0
HEffect
LayerManager::GetEffect( IN HLayer hLayer )
{
    HEffect rval;

    Layer* pLayer = GetObjectPointer(hLayer);
    if (!pLayer)
    {
        RETAILMSG(ZONE_ERROR, "ERROR: LayerManager::GetEffect( 0x%x ): invalid Layer", (UINT32)hLayer);
        return rval;
    }

    return pLayer->GetEffect();
}