Examples of the Frobenius Integrability Theorem
For other readers: jostpuur is asking about a fundamental result in the theory of manifolds, the Frobenius integrability theorem, which gives a very simple answer to questions like this: given a one-form \alpha, when can we find functions f,g such that \alpha = f \, dg? In this case, in terms of DEs we have found an integrating factor for the first order equation \alpha(h) = 0. For one-forms on R^3 the problem of finding "integral two-surfaces" through the two-analog of a vector field, which unlike the one-case is nontrivial, reduces to this question.
A special case of the Frobenius integrability theorem says that (assuming the given one-form \alpha is nonzero on the neighborhood of interest) there exist f,g such that \alpha = f \, dg iff d\alpha = \mu \wedge \alpha for some one-form \mu.
jostpuur, what book are you reading? This is so important that I am surprised it offers no examples. (I seem to constantly recommend Flanders, Differential Forms with Applications to the Physical Sciences, Dover reprint, which does offer examples.) Does what I've said before help you find an example? If not, ask again, I can give you explicit examples.