When we find (se rahi thi, se chal rahe the, se raha tha..) at the end of hindi sentences, we call them Past perfect continuous tense.

With both Singular & P luralSubjects : had been + V-ing

Affirmative Sentences

SUB + had + been + (V-ing) + Object + for/since.

Negative Sentences

SUB + had + NOT + been + (V-ing) + Object + for/since.

Interrogative Sentences

Starting with KYA

Had + Subject + been + (V-ing) + Object + for/since?

WH family.. (What, when, why, how, who, where)

WH + Had + Subject + been + (V-ing) + Object + for/since?

Negative & Interrogative Sentences

Starting with KYA

Had + Subject + not + been + (V-ing) + Object + for/since?

WH family.. (What, when, why, how, who, where)

WH + Had + Subject + not + been + (V-ing) + Object + for/since?