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.

34 lines
680 B

  1. /*
  2. * hndtrans.h - Handle translation description.
  3. */
  4. /* Types
  5. ********/
  6. /* handles */
  7. DECLARE_HANDLE(HHANDLETRANS);
  8. DECLARE_STANDARD_TYPES(HHANDLETRANS);
  9. DECLARE_HANDLE(HGENERIC);
  10. DECLARE_STANDARD_TYPES(HGENERIC);
  11. /* Prototypes
  12. *************/
  13. /* hndtrans.c */
  14. extern BOOL CreateHandleTranslator(LONG, PHHANDLETRANS);
  15. extern void DestroyHandleTranslator(HHANDLETRANS);
  16. extern BOOL AddHandleToHandleTranslator(HHANDLETRANS, HGENERIC, HGENERIC);
  17. extern void PrepareForHandleTranslation(HHANDLETRANS);
  18. extern BOOL TranslateHandle(HHANDLETRANS, HGENERIC, PHGENERIC);
  19. #ifdef DEBUG
  20. extern BOOL IsValidHHANDLETRANS(HHANDLETRANS);
  21. #endif