DirectX SDK

DirectX7.SystemBpp

The DirectX7.SystemBpp method returns the current bits per pixel for the system.

object.SystemBpp() As Long

Parameters

object
Object expression that resolves to a DirectX7 object.

Return Values

If the method succeeds, the current bits per pixel for the system is returned.

Error Codes

If the method fails, an error is raised and Err.Number is set.