Here is an example program that works in x86 but not in x64 (on Windows 7 64bit):
int main()
{
amf_int32 width = 1280;
amf_int32 height = 720;
amf::AMFContextPtr pContext;
AMF_RESULT res = AMFCreateContext(&pContext);
res = pContext->InitOpenGL(NULL, NULL, NULL);
amf::AMFComponentPtr pConverter;
res = AMFCreateComponent(pContext, AMFVideoConverter, &pConverter);
pConverter->SetProperty(AMF_VIDEO_CONVERTER_MEMORY_TYPE, amf::AMF_MEMORY_OPENGL);
pConverter->SetProperty(AMF_VIDEO_CONVERTER_OUTPUT_FORMAT, amf::AMF_SURFACE_BGRA);
res = pConverter->Init(amf::AMF_SURFACE_NV12, width, height);
return 0;
}