Last modified: January 09, 2012
Applies to: Windows | Windows Server
The JetGetInstanceMiscInfo function retrieves information about the instance, while the instance is online.
Windows Vista: JetGetInstanceMiscInfo is introduced in Windows Vista.
JET_ERR JET_API JetGetInstanceMiscInfo( __in JET_INSTANCE instance, __out void* pvResult, __in unsigned long cbMax, __in unsigned long InfoLevel );
Identifies the database instance that will be used for the API call.
Pointer to a buffer that will receive the information. The type of the buffer is dependent on InfoLevel. The caller is responsible for aligning the buffer appropriately.
The size, in bytes, of the buffer passed in pvResult.
Determines what type of information will be retrieved for the instance specified by instance. The format of the data stored in pvResult is dependent on InfoLevel.
The following options are available for use with this parameter.
pvResult is interpreted as a JET_SIGNATURE structure of the transaction log sequence associated with this instance.
This function returns the JET_ERR datatype with one of the following return codes. For more information about the possible ESE errors, see Extensible Storage Engine Errors and Error Handling Parameters.
The operation completed successfully.
The buffer was too small.
Either an invalid JET_INSTANCE or an invalid InfoLevel was specified.
Requires Windows Vista.
Requires Windows Server 2008.
Declared in Esent.h.