Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.1 KiB

  1. //--------------------------------------------------------------------------
  2. // Query.h
  3. //--------------------------------------------------------------------------
  4. #pragma once
  5. //--------------------------------------------------------------------------
  6. // Forward Decls
  7. //--------------------------------------------------------------------------
  8. class CDatabase;
  9. typedef struct tagRECORDMAP *LPRECORDMAP;
  10. //--------------------------------------------------------------------------
  11. // HQUERY
  12. //--------------------------------------------------------------------------
  13. DECLARE_HANDLE(HQUERY);
  14. typedef HQUERY *LPHQUERY;
  15. //--------------------------------------------------------------------------
  16. // BuildQueryTree
  17. //--------------------------------------------------------------------------
  18. HRESULT EvaluateQuery(HQUERY hQuery, LPVOID pBinding, LPCTABLESCHEMA pSchema, CDatabase *pDB, IDatabaseExtension *pExtension);
  19. HRESULT ParseQuery(LPCSTR pszQuery, LPCTABLESCHEMA pSchema, LPHQUERY phQuery, CDatabase *pDB);
  20. HRESULT CloseQuery(LPHQUERY phQuery, CDatabase *pDB);