|Microsoft DirectX 9.0|
The GetScale method retrieves the scale associated with the
HRESULT GetScale( DWORD* pdwScale );
Address of a variable that receives the scale value.
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be E_POINTER.
The scale is defined by the bits in a DWORD, split into a scale pattern in the lower 24 bits and a root in the upper 8 bits. For the scale pattern, the low bit (0x0001) is the lowest note in the scale, the next higher (0x0002) is a semitone higher, and so on for two octaves. The upper 8 bits give the root of the scale as an integer between 0 and 23 (low C to middle B).
Header: Declared in dmusici.h.