▁modern ▁video ▁games ▁and ▁ 3 D ▁applications . ▁ ▁Retrie ving ▁information ▁about ▁a ▁device ▁driver ▁Since ▁guard ▁band ▁cli pping ▁is ▁fully ▁supported ▁by ▁Direct X ▁and ▁the ▁Windows ▁Driver ▁Model , ▁it ▁is ▁easy ▁for ▁a ▁developer ▁to ▁query ▁a ▁device ' s ▁guard ▁band ▁cli pping ▁settings ▁without ▁knowledge ▁of ▁any ▁hardware ▁specific ▁commands . ▁ ▁The ▁following ▁code ▁snippet ▁retr ieves ▁the ▁offset ▁of ▁the ▁guard ▁band ▁and ▁displays ▁them ▁on ▁a ▁dialog ▁box : ▁ ▁// ▁... ▁Device ▁creation ▁... ▁- ▁rendering Device ▁is ▁assumed ▁to ▁be ▁the ▁name ▁of ▁the ▁Microsoft . Direct X . Direct 3 D . Device ▁which ▁is ▁quer ied . Message Box . Show ▁(" Top ▁margin : ▁" ▁+ ▁rendering Device . Device C aps . Gu ard B and Top . ToString ()); ▁Message Box . Show ▁(" Left ▁margin : ▁" ▁+ ▁rendering Device . Device C aps . Gu ard B and Left . ToString ()); ▁Message Box . Show ▁(" Right ▁margin : ▁" ▁+ ▁rendering Device . Device C aps . Gu ard B and Right . ToString ()); ▁Message Box . Show ▁(" Bottom ▁margin : ▁" ▁+ ▁rendering Device . Device C aps . Gu ard B and Bottom . ToString ()); '' '' // ▁... ▁Device ▁dispos al ▁... ▁ ▁S ources ▁ ▁Microsoft ▁M SD N ▁ ▁N V idia ▁Development ▁Portal ▁ ▁External ▁links ▁A ▁technical ▁specification ▁of ▁Guard ▁Band ▁C li pping ▁by ▁N V idia ▁Techn ical ▁information