From a00a966ce72e735025a868dae53c79e1cf880ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A5=B6=E5=85=88=E5=AE=8F?= Date: Thu, 20 May 2021 14:25:55 +0800 Subject: [PATCH] Update object.h --- include/object.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/object.h b/include/object.h index 65dcc06..5d9fa23 100644 --- a/include/object.h +++ b/include/object.h @@ -335,6 +335,14 @@ int objectCreateEx(IIDTYPE clsid, const PARAMITEM * pParams, int paramcount, IID */ int objectQueryCreator(IIDTYPE clsid, FObjectCreate * pObjectCreator); +/* + 把一个"7691029B-DAE3-4AC9-9A81-411C1B529039"格式的IID转换成一个IIDTYPE + 返回值: + 0 -- 成功 + 否则 -- 格式不对 +*/ +int str2iid(const char* str, IIDTYPE iid); + /* 以下代码辅助实现一个Object */ -- GitLab