Microsoft SDK for Java

C2JMethodHookInfo

Information structure for COM-to-Java custom method hook.

Syntax

typedef struct {

DWORD cbSize; struct methodblock *javaMethod; LPVOID pComArgs;
const volatile JAVAARG *ppThis;

// Store the COM result here:

union {

  HRESULT resHR;

  DWORD resDWORD;

  double resDouble;

  };

} C2JMethodHookInfo;

Parameters

cbSize The size of structure in bytes.
*javaMethod The Java method to call.
pComArgs The pointer to a COM method argument stack.
*ppThis The pointer to a pointer to the Java keyword this.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.