\documentstyle{article}
\makeindex
\input{windex.tex}
\begin{document}

\newcommand{\indexbf}[1]{\index{#1[\string\bf {0}]}}

\indexbf{foobar}

\index{ef\em gh}

Hello

\end{document}
