소스 검색

* PChar -> PAnsiChar

Michael VAN CANNEYT 2 년 전
부모
커밋
fcc921c675
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/nvapi/src/nvapi.pas

+ 2 - 2
packages/nvapi/src/nvapi.pas

@@ -1784,8 +1784,8 @@ const
 //
 ///////////////////////////////////////////////////////////////////////////////
 type
-//typedef void (* NVAPI_OGLEXPERT_CALLBACK) (unsigned int categoryId, unsigned int messageId, unsigned int detailLevel, int objectId, const char *messageStr): NvAPI_Status; cdecl;
-  NVAPI_OGLEXPERT_CALLBACK = procedure (categoryId, messageId, detailLevel: Cardinal; objectId: Integer; const messageStr: PChar); cdecl;
+//typedef void (* NVAPI_OGLEXPERT_CALLBACK) (unsigned int categoryId, unsigned int messageId, unsigned int detailLevel, int objectId, const AnsiChar *messageStr): NvAPI_Status; cdecl;
+  NVAPI_OGLEXPERT_CALLBACK = procedure (categoryId, messageId, detailLevel: Cardinal; objectId: Integer; const messageStr: PAnsiChar); cdecl;
 
 //  SUPPORTED OS: Windows XP and higher
 var