CXHNDL.IDL
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  1. [ uuid (A4F1DB00-CA47-1067-B31F-00DD010662DA),
  2.   version(1.0),
  3.   pointer_default(unique)
  4. ]
  5. interface cxhndl
  6. {
  7. const short BUFSIZE = 1024; 
  8. typedef [context_handle] void *PCONTEXT_HANDLE_TYPE;
  9. short RemoteOpen( [out] PCONTEXT_HANDLE_TYPE *pphContext,
  10.                   [in, string] unsigned char *pszFile
  11.                 );
  12. short RemoteRead( [in]  PCONTEXT_HANDLE_TYPE phContext,
  13.                   [out] unsigned char achBuf[BUFSIZE],
  14.                   [out] short *pcbBuf
  15.                 );
  16. short RemoteClose( [in, out] PCONTEXT_HANDLE_TYPE *pphContext );
  17. void Shutdown(void);
  18. }