.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH WintrustAddDefaultForUsage 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBWintrustAddDefaultForUsage\fR (WINTRUST.@) .SH SYNOPSIS BOOL WintrustAddDefaultForUsage ( const char* \fIpszUsageOID\fR, CRYPT_PROVIDER_REGDEFUSAGE* \fIpsDefUsage\fR ) .SH DESCRIPTION .PP Write \fBOID\fR and callback functions to the registry. .SH PARAMS \fIpszUsageOID\fR \fB[In]\fR Pointer to a \fBGUID\fR. .PP \fIpsDefUsage\fR \fB[In]\fR Pointer to a structure that specifies the callback functions. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP WintrustAddDefaultForUsage will only return \fBTRUE\fR or \fBFALSE\fR, no last error is set, not even when the registry cannot be written to. .SH IMPLEMENTATION .PP Declared in \fB"wintrust.h"\fR. .PP Implemented in \fB"dlls/wintrust/register.c"\fR. .PP Debug channel \fB"wintrust"\fR.